********************************************************************************
** 	TITLE:		gb1964_bes_contact_networks		    		                  **
**  AUTHOR:	    Philippe Mongrain                                             **
**	DATA:       1963-1970 Political Change in Britain				          **
**	DATE:		October 2022 					                              **	
**	VERSION:	Stata 16					                                  **
********************************************************************************

* Version control

version 16.0

* Open log file

capture log close
log using "gb1964_bes_contact_networks", replace

* Create file to link constituency id to constituency names // Unable to determine which districts exactly are constituency IDs #21, #120, #173, #233, and #240 linked to

import excel using "constituencies_uk_1964_1970.xlsx", sheet(constituencies_uk_1964) firstrow clear

drop if id == .

rename id v31
rename district_name GB63_district_name

save "districts_bes_1963.dta", replace

import excel using "constituencies_uk_1964_1970.xlsx", sheet(constituencies_uk_1964) firstrow clear

drop if id == .

rename id v32
rename district_name GB64_district_name

save "districts_bes_1964.dta", replace

import excel using "constituencies_uk_1964_1970.xlsx", sheet(constituencies_uk_1966) firstrow clear

drop if id == .

rename id v33
rename district_name GB66_district_name

save "districts_bes_1966.dta", replace

import excel using "constituencies_uk_1964_1970.xlsx", sheet(constituencies_uk_1970) firstrow clear

drop if id == .

rename id v34
rename district_name GB70_district_name

save "districts_bes_1970.dta", replace

* Open dataset

use "1963-1970 Political Change in Britain.dta", clear

* Link constituency id to constituency names

merge m:1 v31 using districts_bes_1963
drop _merge

merge m:1 v32 using districts_bes_1964
drop _merge

merge m:1 v33 using districts_bes_1966
drop _merge

merge m:1 v34 using districts_bes_1970
drop _merge


**********************************************************
** DISTRICT OUTCOMES: 1964 GENERAL ELECTION (1963 WAVE) **
**********************************************************

* Note: 1 = Conservative, 2 = Labour, 3 = Liberal, 4 = Nationalists, 5 = Other
							
gen GB63_district_outcome = .

replace GB63_district_outcome = 2 if GB63_district_name == "ABERAVON"
replace GB63_district_outcome = 2 if GB63_district_name == "ABERDARE"
replace GB63_district_outcome = 2 if GB63_district_name == "ABERDEEN NORTH"
replace GB63_district_outcome = 1 if GB63_district_name == "ABERDEEN SOUTH"
replace GB63_district_outcome = 1 if GB63_district_name == "EAST ABERDEENSHIRE"
replace GB63_district_outcome = 1 if GB63_district_name == "WEST ABERDEENSHIRE"
replace GB63_district_outcome = 2 if GB63_district_name == "ABERTILLERY"
replace GB63_district_outcome = 1 if GB63_district_name == "ABINGDON"
replace GB63_district_outcome = 2 if GB63_district_name == "ACCRINGTON"
replace GB63_district_outcome = 2 if GB63_district_name == "ACTON"
replace GB63_district_outcome = 1 if GB63_district_name == "ALDERSHOT"
replace GB63_district_outcome = 1 if GB63_district_name == "ALTRINCHAM AND SALE"
replace GB63_district_outcome = 2 if GB63_district_name == "ANGLESEY"
replace GB63_district_outcome = 1 if GB63_district_name == "NORTH ANGUS AND MEARNS"
replace GB63_district_outcome = 1 if GB63_district_name == "SOUTH ANGUS"
replace GB63_district_outcome = 1 if GB63_district_name == "ANTRIM NORTH"
replace GB63_district_outcome = 1 if GB63_district_name == "ANTRIM SOUTH"
replace GB63_district_outcome = 1 if GB63_district_name == "ARGYLL"
replace GB63_district_outcome = 1 if GB63_district_name == "ARMAGH"
replace GB63_district_outcome = 1 if GB63_district_name == "ARUNDEL AND SHOREHAM"
replace GB63_district_outcome = 2 if GB63_district_name == "ASHFIELD"
replace GB63_district_outcome = 1 if GB63_district_name == "ASHFORD"
replace GB63_district_outcome = 2 if GB63_district_name == "ASHTON UNDER LYNE"
replace GB63_district_outcome = 1 if GB63_district_name == "AYLESBURY"
replace GB63_district_outcome = 1 if GB63_district_name == "AYR"
replace GB63_district_outcome = 2 if GB63_district_name == "CENTRAL AYRSHIRE"
replace GB63_district_outcome = 1 if GB63_district_name == "BUTE AND NORTH AYRSHIRE"
replace GB63_district_outcome = 2 if GB63_district_name == "SOUTH AYRSHIRE"
replace GB63_district_outcome = 1 if GB63_district_name == "BANBURY"
replace GB63_district_outcome = 1 if GB63_district_name == "BANFF"
replace GB63_district_outcome = 2 if GB63_district_name == "BARKING"
replace GB63_district_outcome = 1 if GB63_district_name == "BARKSTON ASH"
replace GB63_district_outcome = 1 if GB63_district_name == "BARNET"
replace GB63_district_outcome = 2 if GB63_district_name == "BARNSLEY"
replace GB63_district_outcome = 2 if GB63_district_name == "BARONS COURT"
replace GB63_district_outcome = 2 if GB63_district_name == "BARROW IN FURNESS"
replace GB63_district_outcome = 1 if GB63_district_name == "BARRY"
replace GB63_district_outcome = 1 if GB63_district_name == "BASINGSTOKE"
replace GB63_district_outcome = 2 if GB63_district_name == "BASSETLAW"
replace GB63_district_outcome = 1 if GB63_district_name == "BATH"
replace GB63_district_outcome = 2 if GB63_district_name == "BATLEY AND MORLEY"
replace GB63_district_outcome = 2 if GB63_district_name == "BATTERSEA,NORTH"
replace GB63_district_outcome = 2 if GB63_district_name == "BATTERSEA,SOUTH"
replace GB63_district_outcome = 1 if GB63_district_name == "BEBINGTON"
replace GB63_district_outcome = 1 if GB63_district_name == "BECKENHAM"
replace GB63_district_outcome = 1 if GB63_district_name == "BEDFORD"
replace GB63_district_outcome = 1 if GB63_district_name == "MID-BEDFORDSHIRE"
replace GB63_district_outcome = 1 if GB63_district_name == "SOUTH BEDFORDSHIRE"
replace GB63_district_outcome = 2 if GB63_district_name == "BEDWELLTY"
replace GB63_district_outcome = 1 if GB63_district_name == "BELFAST EAST"
replace GB63_district_outcome = 1 if GB63_district_name == "BELFAST NORTH"
replace GB63_district_outcome = 1 if GB63_district_name == "BELFAST SOUTH"
replace GB63_district_outcome = 1 if GB63_district_name == "BELFAST WEST"
replace GB63_district_outcome = 2 if GB63_district_name == "BELPER"
replace GB63_district_outcome = 2 if GB63_district_name == "BERMONDSEY"
replace GB63_district_outcome = 1 if GB63_district_name == "BERWICK AND EAST LOTHIAN"
replace GB63_district_outcome = 1 if GB63_district_name == "BERWICK UPON TWEED"
replace GB63_district_outcome = 2 if GB63_district_name == "BETHNAL GREEN"
replace GB63_district_outcome = 1 if GB63_district_name == "BEXLEY"
replace GB63_district_outcome = 1 if GB63_district_name == "BILLERICAY"
replace GB63_district_outcome = 2 if GB63_district_name == "BILSTON"
replace GB63_district_outcome = 2 if GB63_district_name == "BIRKENHEAD"
replace GB63_district_outcome = 2 if GB63_district_name == "BIRMINGHAM,ALL SAINTS"
replace GB63_district_outcome = 2 if GB63_district_name == "BIRMINGHAM,ASTON"
replace GB63_district_outcome = 1 if GB63_district_name == "BIRMINGHAM,EDGBASTON"
replace GB63_district_outcome = 1 if GB63_district_name == "BIRMINGHAM,HALL GREEN"
replace GB63_district_outcome = 1 if GB63_district_name == "BIRMINGHAM,HANDSWORTH"
replace GB63_district_outcome = 2 if GB63_district_name == "BIRMINGHAM,LADYWOOD"
replace GB63_district_outcome = 2 if GB63_district_name == "BIRMINGHAM,NORTHFIED"
replace GB63_district_outcome = 1 if GB63_district_name == "BIRMINGHAM,PERRY BARR"
replace GB63_district_outcome = 1 if GB63_district_name == "BIRMINGHAM,SELLY OAK"
replace GB63_district_outcome = 2 if GB63_district_name == "BIRMINGHAM,SMALL HEATH"
replace GB63_district_outcome = 2 if GB63_district_name == "BIRMINGHAM,SPARKBROOK"
replace GB63_district_outcome = 2 if GB63_district_name == "BIRMINGHAM,STECHFORD"
replace GB63_district_outcome = 2 if GB63_district_name == "BIRMINGHAM,YARDLEY"
replace GB63_district_outcome = 2 if GB63_district_name == "BISHOP AUCKLAND"
replace GB63_district_outcome = 2 if GB63_district_name == "BLACKBURN"
replace GB63_district_outcome = 1 if GB63_district_name == "BLACKPOOL,NORTH"
replace GB63_district_outcome = 1 if GB63_district_name == "BLACKPOOL,SOUTH"
replace GB63_district_outcome = 2 if GB63_district_name == "BLAYDON"
replace GB63_district_outcome = 2 if GB63_district_name == "BLYTH"
replace GB63_district_outcome = 3 if GB63_district_name == "BODMIN"
replace GB63_district_outcome = 2 if GB63_district_name == "BOLSOVER"
replace GB63_district_outcome = 2 if GB63_district_name == "BOLTON,EAST"
replace GB63_district_outcome = 2 if GB63_district_name == "BOLTON,WEST"
replace GB63_district_outcome = 2 if GB63_district_name == "BOOTLE"
replace GB63_district_outcome = 2 if GB63_district_name == "BOSWORTH"
replace GB63_district_outcome = 2 if GB63_district_name == "BOTHWELL"
replace GB63_district_outcome = 1 if GB63_district_name == "BOURNEMOUTH EAST AND CHRISTCHURCH"
replace GB63_district_outcome = 1 if GB63_district_name == "BOURNEMOUTH WEST"
replace GB63_district_outcome = 2 if GB63_district_name == "BRADFORD,EAST"
replace GB63_district_outcome = 2 if GB63_district_name == "BRADFORD,NORTH"
replace GB63_district_outcome = 2 if GB63_district_name == "BRADFORD,SOUTH"
replace GB63_district_outcome = 1 if GB63_district_name == "BRADFORD,WEST"
replace GB63_district_outcome = 2 if GB63_district_name == "BRECON AND RADNOR"
replace GB63_district_outcome = 1 if GB63_district_name == "BRENTFORD AND CHISWICK"
replace GB63_district_outcome = 1 if GB63_district_name == "BRIDGWATER"
replace GB63_district_outcome = 1 if GB63_district_name == "BRIDLINGTON"
replace GB63_district_outcome = 1 if GB63_district_name == "BRIERLEY HILL"
replace GB63_district_outcome = 2 if GB63_district_name == "BRIGG"
replace GB63_district_outcome = 2 if GB63_district_name == "BRIGHOUSE AND SPENBOROUGH"
replace GB63_district_outcome = 2 if GB63_district_name == "BRIGHTON,KEMPTOWN"
replace GB63_district_outcome = 1 if GB63_district_name == "BRIGHTON,PAVILION"
replace GB63_district_outcome = 2 if GB63_district_name == "BRISTOL,CENTRAL"
replace GB63_district_outcome = 1 if GB63_district_name == "BRISTOL,NORTH EAST"
replace GB63_district_outcome = 1 if GB63_district_name == "BRISTOL,NORTH WEST"
replace GB63_district_outcome = 2 if GB63_district_name == "BRISTOL,SOUTH"
replace GB63_district_outcome = 2 if GB63_district_name == "BRISTOL,SOUTH EAST"
replace GB63_district_outcome = 1 if GB63_district_name == "BRISTOL,WEST"
replace GB63_district_outcome = 1 if GB63_district_name == "BROMLEY"
replace GB63_district_outcome = 1 if GB63_district_name == "BROMSGROVE"
replace GB63_district_outcome = 2 if GB63_district_name == "BUCKINGHAM"
replace GB63_district_outcome = 1 if GB63_district_name == "SOUTH BUCKINGHAMSHIRE"
replace GB63_district_outcome = 2 if GB63_district_name == "BURNLEY"
replace GB63_district_outcome = 1 if GB63_district_name == "BURTON"
replace GB63_district_outcome = 2 if GB63_district_name == "BURY AND RADCLIFFE"
replace GB63_district_outcome = 1 if GB63_district_name == "BURY ST.EDMUNDS"
replace GB63_district_outcome = 2 if GB63_district_name == "CAERNARVON"
replace GB63_district_outcome = 2 if GB63_district_name == "CAERPHILLY"
replace GB63_district_outcome = 3 if GB63_district_name == "CAITHNESS AND SUTHERLAND"
replace GB63_district_outcome = 2 if GB63_district_name == "CAMBERWELL,DULWICH"
replace GB63_district_outcome = 2 if GB63_district_name == "CAMBERWELL,PECKHAM"
replace GB63_district_outcome = 1 if GB63_district_name == "CAMBRIDGE"
replace GB63_district_outcome = 1 if GB63_district_name == "CAMBRIDGESHIRE"
replace GB63_district_outcome = 2 if GB63_district_name == "CANNOCK"
replace GB63_district_outcome = 1 if GB63_district_name == "CANTERBURY"
replace GB63_district_outcome = 1 if GB63_district_name == "CARDIFF,NORTH"
replace GB63_district_outcome = 2 if GB63_district_name == "CARDIFF,SOUTH EAST"
replace GB63_district_outcome = 2 if GB63_district_name == "CARDIFF,WEST"
replace GB63_district_outcome = 3 if GB63_district_name == "CARDIGAN"
replace GB63_district_outcome = 2 if GB63_district_name == "CARLISLE"
replace GB63_district_outcome = 1 if GB63_district_name == "CARLTON"
replace GB63_district_outcome = 2 if GB63_district_name == "CARMARTHEN"
replace GB63_district_outcome = 1 if GB63_district_name == "CARSHALTON"
replace GB63_district_outcome = 1 if GB63_district_name == "CHEADLE"
replace GB63_district_outcome = 1 if GB63_district_name == "CHELMSFORD"
replace GB63_district_outcome = 1 if GB63_district_name == "CHELSEA"
replace GB63_district_outcome = 1 if GB63_district_name == "CHELTENHAM"
replace GB63_district_outcome = 1 if GB63_district_name == "CHERTSEY"
replace GB63_district_outcome = 1 if GB63_district_name == "CITY OF CHESTER"
replace GB63_district_outcome = 2 if GB63_district_name == "CHESTERFIELD"
replace GB63_district_outcome = 2 if GB63_district_name == "CHESTER-LE-STREET"
replace GB63_district_outcome = 1 if GB63_district_name == "CHICHESTER"
replace GB63_district_outcome = 1 if GB63_district_name == "CHIGWELL"
replace GB63_district_outcome = 1 if GB63_district_name == "CHIPPENHAM"
replace GB63_district_outcome = 1 if GB63_district_name == "CHISLEHURST"
replace GB63_district_outcome = 2 if GB63_district_name == "CHORLEY"
replace GB63_district_outcome = 1 if GB63_district_name == "CIRENCESTER AND TEWKESBURY"
replace GB63_district_outcome = 2 if GB63_district_name == "CLEVELAND"
replace GB63_district_outcome = 1 if GB63_district_name == "CLITHEROE"
replace GB63_district_outcome = 2 if GB63_district_name == "COATBRIDGE AND AIRDRIE"
replace GB63_district_outcome = 1 if GB63_district_name == "COLCHESTER"
replace GB63_district_outcome = 2 if GB63_district_name == "COLNE VALLEY"
replace GB63_district_outcome = 2 if GB63_district_name == "CONSETT"
replace GB63_district_outcome = 1 if GB63_district_name == "CONWAY"
replace GB63_district_outcome = 1 if GB63_district_name == "NORTH CORNWALL"
replace GB63_district_outcome = 2 if GB63_district_name == "COVENTRY,EAST"
replace GB63_district_outcome = 2 if GB63_district_name == "COVENTRY,NORTH"
replace GB63_district_outcome = 2 if GB63_district_name == "COVENTRY,SOUTH"
replace GB63_district_outcome = 2 if GB63_district_name == "CREWE"
replace GB63_district_outcome = 1 if GB63_district_name == "CROSBY"
replace GB63_district_outcome = 1 if GB63_district_name == "CROYDON,NORTH EAST"
replace GB63_district_outcome = 1 if GB63_district_name == "CROYDON,NORTH WEST"
replace GB63_district_outcome = 1 if GB63_district_name == "CROYDON,SOUTH"
replace GB63_district_outcome = 2 if GB63_district_name == "DAGENHAM"
replace GB63_district_outcome = 2 if GB63_district_name == "DARLINGTON"
replace GB63_district_outcome = 2 if GB63_district_name == "DARTFORD"
replace GB63_district_outcome = 1 if GB63_district_name == "DARWEN"
replace GB63_district_outcome = 2 if GB63_district_name == "DEARNE VALLEY"
replace GB63_district_outcome = 1 if GB63_district_name == "DENBIGH"
replace GB63_district_outcome = 2 if GB63_district_name == "DEPTFORD"
replace GB63_district_outcome = 2 if GB63_district_name == "DERBY NORTH"
replace GB63_district_outcome = 2 if GB63_district_name == "DERBY SOUTH"
replace GB63_district_outcome = 2 if GB63_district_name == "NORTH EAST DERBYSHIRE"
replace GB63_district_outcome = 2 if GB63_district_name == "SOUTH EAST DERBYSHIRE"
replace GB63_district_outcome = 1 if GB63_district_name == "WEST DERBYSHIRE"
replace GB63_district_outcome = 1 if GB63_district_name == "DEVIZES"
replace GB63_district_outcome = 3 if GB63_district_name == "NORTH DEVON"
replace GB63_district_outcome = 2 if GB63_district_name == "DEWSBURY"
replace GB63_district_outcome = 2 if GB63_district_name == "DONCASTER"
replace GB63_district_outcome = 2 if GB63_district_name == "DON VALLEY"
replace GB63_district_outcome = 1 if GB63_district_name == "DORKING"
replace GB63_district_outcome = 1 if GB63_district_name == "NORTH DORSET"
replace GB63_district_outcome = 1 if GB63_district_name == "SOUTH DORSET"
replace GB63_district_outcome = 1 if GB63_district_name == "WEST DORSET"
replace GB63_district_outcome = 2 if GB63_district_name == "DOVER"
replace GB63_district_outcome = 1 if GB63_district_name == "DOWN NORTH"
replace GB63_district_outcome = 1 if GB63_district_name == "DOWN SOUTH"
replace GB63_district_outcome = 2 if GB63_district_name == "DUDLEY"
replace GB63_district_outcome = 1 if GB63_district_name == "DUMFRIES"
replace GB63_district_outcome = 2 if GB63_district_name == "EAST DUNBARTONSHIRE"
replace GB63_district_outcome = 2 if GB63_district_name == "WEST DUNBARTONSHIRE"
replace GB63_district_outcome = 2 if GB63_district_name == "DUNDEE EAST"
replace GB63_district_outcome = 2 if GB63_district_name == "DUNDEE WEST"
replace GB63_district_outcome = 2 if GB63_district_name == "DUNFERMLINE BURGHS"
replace GB63_district_outcome = 2 if GB63_district_name == "DURHAM"
replace GB63_district_outcome = 2 if GB63_district_name == "NORTH WEST DURHAM"
replace GB63_district_outcome = 2 if GB63_district_name == "EALING,NORTH"
replace GB63_district_outcome = 1 if GB63_district_name == "EALING,SOUTH"
replace GB63_district_outcome = 2 if GB63_district_name == "EASINGTON"
replace GB63_district_outcome = 1 if GB63_district_name == "EASTBOURNE"
replace GB63_district_outcome = 1 if GB63_district_name == "EAST GRINSTEAD"
replace GB63_district_outcome = 2 if GB63_district_name == "EAST HAM,NORTH"
replace GB63_district_outcome = 2 if GB63_district_name == "EAST HAM,SOUTH"
replace GB63_district_outcome = 1 if GB63_district_name == "EASTLEIGH"
replace GB63_district_outcome = 2 if GB63_district_name == "EBBW VALE"
replace GB63_district_outcome = 2 if GB63_district_name == "ECCLES"
replace GB63_district_outcome = 2 if GB63_district_name == "EDINBURGH CENTRAL"
replace GB63_district_outcome = 2 if GB63_district_name == "EDINBURGH EAST"
replace GB63_district_outcome = 2 if GB63_district_name == "EDINBURGH LEITH"
replace GB63_district_outcome = 1 if GB63_district_name == "EDINBURGH NORTH"
replace GB63_district_outcome = 1 if GB63_district_name == "EDINBURGH PENTLANDS"
replace GB63_district_outcome = 1 if GB63_district_name == "EDINBURGH SOUTH"
replace GB63_district_outcome = 1 if GB63_district_name == "EDINBURGH WEST"
replace GB63_district_outcome = 2 if GB63_district_name == "EDMONTON"
replace GB63_district_outcome = 2 if GB63_district_name == "ENFIELD,EAST"
replace GB63_district_outcome = 1 if GB63_district_name == "ENFIELD,WEST"
replace GB63_district_outcome = 2 if GB63_district_name == "EPPING"
replace GB63_district_outcome = 1 if GB63_district_name == "EPSOM"
replace GB63_district_outcome = 2 if GB63_district_name == "ERITH AND CRAYFORD"
replace GB63_district_outcome = 1 if GB63_district_name == "ESHER"
replace GB63_district_outcome = 1 if GB63_district_name == "SOUTH EAST ESSEX"
replace GB63_district_outcome = 1 if GB63_district_name == "ETON AND SLOUGH"
replace GB63_district_outcome = 1 if GB63_district_name == "EXETER"
replace GB63_district_outcome = 1 if GB63_district_name == "EYE"
replace GB63_district_outcome = 2 if GB63_district_name == "FALMOUTH AND CAMBORNE"
replace GB63_district_outcome = 1 if GB63_district_name == "FARNHAM"
replace GB63_district_outcome = 2 if GB63_district_name == "FARNWORTH"
replace GB63_district_outcome = 2 if GB63_district_name == "FAVERSHAM"
replace GB63_district_outcome = 2 if GB63_district_name == "FELTHAM"
replace GB63_district_outcome = 1 if GB63_district_name == "FERMANAGH AND SOUTH TYRONE"
replace GB63_district_outcome = 1 if GB63_district_name == "EAST FIFE"
replace GB63_district_outcome = 2 if GB63_district_name == "WEST FIFE"
replace GB63_district_outcome = 1 if GB63_district_name == "FINCHLEY"
replace GB63_district_outcome = 2 if GB63_district_name == "EAST FLINTSHIRE"
replace GB63_district_outcome = 1 if GB63_district_name == "WEST FLINTSHIRE"
replace GB63_district_outcome = 1 if GB63_district_name == "FOLKESTONE AND HYTHE"
replace GB63_district_outcome = 2 if GB63_district_name == "FULHAM"
replace GB63_district_outcome = 1 if GB63_district_name == "GAINSBOROUGH"
replace GB63_district_outcome = 1 if GB63_district_name == "GALLOWAY"
replace GB63_district_outcome = 2 if GB63_district_name == "GATESHEAD EAST"
replace GB63_district_outcome = 2 if GB63_district_name == "GATESHEAD WEST"
replace GB63_district_outcome = 1 if GB63_district_name == "GILLINGHAM"
replace GB63_district_outcome = 2 if GB63_district_name == "GLASGOW BRIDGETON"
replace GB63_district_outcome = 1 if GB63_district_name == "GLASGOW CATHCART"
replace GB63_district_outcome = 2 if GB63_district_name == "GLASGOW CENTRAL"
replace GB63_district_outcome = 2 if GB63_district_name == "GLASGOW CRAIGTON"
replace GB63_district_outcome = 2 if GB63_district_name == "GLASGOW GORBALS"
replace GB63_district_outcome = 2 if GB63_district_name == "GLASGOW GOVAN"
replace GB63_district_outcome = 1 if GB63_district_name == "GLASGOW HILLHEAD"
replace GB63_district_outcome = 2 if GB63_district_name == "GLASGOW KELVINGROVE"
replace GB63_district_outcome = 2 if GB63_district_name == "GLASGOW MARYHILL"
replace GB63_district_outcome = 2 if GB63_district_name == "GLASGOW POLLOK"
replace GB63_district_outcome = 2 if GB63_district_name == "GLASGOW PROVAN"
replace GB63_district_outcome = 2 if GB63_district_name == "GLASGOW SCOTSTOUN"
replace GB63_district_outcome = 2 if GB63_district_name == "GLASGOW SHETTLESTON"
replace GB63_district_outcome = 2 if GB63_district_name == "GLASGOW SPRINGBURN"
replace GB63_district_outcome = 2 if GB63_district_name == "GLASGOW WOODSIDE"
replace GB63_district_outcome = 2 if GB63_district_name == "GLOUCESTER"
replace GB63_district_outcome = 1 if GB63_district_name == "SOUTH GLOUCESTERSHIRE"
replace GB63_district_outcome = 2 if GB63_district_name == "WEST GLOUCESTERSHIRE"
replace GB63_district_outcome = 2 if GB63_district_name == "GOOLE"
replace GB63_district_outcome = 1 if GB63_district_name == "GOSPORT AND FAREHAM"
replace GB63_district_outcome = 2 if GB63_district_name == "GOWER"
replace GB63_district_outcome = 1 if GB63_district_name == "GRANTHAM"
replace GB63_district_outcome = 2 if GB63_district_name == "GRAVESEND"
replace GB63_district_outcome = 2 if GB63_district_name == "GREENOCK"
replace GB63_district_outcome = 2 if GB63_district_name == "GREENWICH"
replace GB63_district_outcome = 2 if GB63_district_name == "GRIMSBY"
replace GB63_district_outcome = 1 if GB63_district_name == "GUILDFORD"
replace GB63_district_outcome = 2 if GB63_district_name == "HACKNEY CENTRAL"
replace GB63_district_outcome = 2 if GB63_district_name == "HALIFAX"
replace GB63_district_outcome = 1 if GB63_district_name == "HALTEMPRICE"
replace GB63_district_outcome = 2 if GB63_district_name == "HAMILTON"
replace GB63_district_outcome = 2 if GB63_district_name == "HAMMERSMITH NORTH"
replace GB63_district_outcome = 1 if GB63_district_name == "HAMPSTEAD"
replace GB63_district_outcome = 1 if GB63_district_name == "HARBOROUGH"
replace GB63_district_outcome = 1 if GB63_district_name == "HARROGATE"
replace GB63_district_outcome = 1 if GB63_district_name == "HARROW,CENTRAL"
replace GB63_district_outcome = 1 if GB63_district_name == "HARROW,EAST"
replace GB63_district_outcome = 1 if GB63_district_name == "HARROW,WEST"
replace GB63_district_outcome = 2 if GB63_district_name == "THE HARTLEPOOLS"
replace GB63_district_outcome = 1 if GB63_district_name == "HARWICH"
replace GB63_district_outcome = 1 if GB63_district_name == "HASTINGS"
replace GB63_district_outcome = 2 if GB63_district_name == "HAYES AND HARLINGTON"
replace GB63_district_outcome = 1 if GB63_district_name == "HEMEL HEMPSTEAD"
replace GB63_district_outcome = 2 if GB63_district_name == "HEMSWORTH"
replace GB63_district_outcome = 1 if GB63_district_name == "HENDON,NORTH"
replace GB63_district_outcome = 1 if GB63_district_name == "HENDON,SOUTH"
replace GB63_district_outcome = 1 if GB63_district_name == "HENLEY"
replace GB63_district_outcome = 1 if GB63_district_name == "HEREFORD"
replace GB63_district_outcome = 1 if GB63_district_name == "HERTFORD"
replace GB63_district_outcome = 1 if GB63_district_name == "EAST HERTFORDSHIRE"
replace GB63_district_outcome = 1 if GB63_district_name == "SOUTH WEST HERTFORDSHIRE"
replace GB63_district_outcome = 1 if GB63_district_name == "HESTON AND ISLEWORTH"
replace GB63_district_outcome = 1 if GB63_district_name == "HEXHAM"
replace GB63_district_outcome = 2 if GB63_district_name == "HEYWOOD AND ROYTON"
replace GB63_district_outcome = 1 if GB63_district_name == "HIGH PEAK"
replace GB63_district_outcome = 2 if GB63_district_name == "HITCHIN"
replace GB63_district_outcome = 2 if GB63_district_name == "HOLBORN AND ST.PANCRAS"
replace GB63_district_outcome = 1 if GB63_district_name == "HOLLAND WITH BOSTON"
replace GB63_district_outcome = 1 if GB63_district_name == "HONITON"
replace GB63_district_outcome = 1 if GB63_district_name == "HORNCASTLE"
replace GB63_district_outcome = 1 if GB63_district_name == "HORNCHURCH"
replace GB63_district_outcome = 1 if GB63_district_name == "HORNSEY"
replace GB63_district_outcome = 1 if GB63_district_name == "HORSHAM"
replace GB63_district_outcome = 2 if GB63_district_name == "HOUGHTON-LE-SPRING"
replace GB63_district_outcome = 1 if GB63_district_name == "HOVE"
replace GB63_district_outcome = 1 if GB63_district_name == "HOWDEN"
replace GB63_district_outcome = 2 if GB63_district_name == "HUDDERSFIELD,EAST"
replace GB63_district_outcome = 2 if GB63_district_name == "HUDDERSFIELD,WEST"
replace GB63_district_outcome = 1 if GB63_district_name == "HUNTINGDONSHIRE"
replace GB63_district_outcome = 2 if GB63_district_name == "HUYTON"
replace GB63_district_outcome = 1 if GB63_district_name == "ILFORD,NORTH"
replace GB63_district_outcome = 1 if GB63_district_name == "ILFORD,SOUTH"
replace GB63_district_outcome = 2 if GB63_district_name == "ILKESTON"
replace GB63_district_outcome = 2 if GB63_district_name == "INCE"
replace GB63_district_outcome = 3 if GB63_district_name == "INVERNESS"
replace GB63_district_outcome = 2 if GB63_district_name == "IPSWICH"
replace GB63_district_outcome = 1 if GB63_district_name == "THE ISLE OF ELY"
replace GB63_district_outcome = 1 if GB63_district_name == "ISLE OF THANET"
replace GB63_district_outcome = 1 if GB63_district_name == "ISLE OF WIGHT"
replace GB63_district_outcome = 2 if GB63_district_name == "ISLINGTON,EAST"
replace GB63_district_outcome = 2 if GB63_district_name == "ISLINGTON,NORTH"
replace GB63_district_outcome = 2 if GB63_district_name == "ISLINGTON,SOUTH WEST"
replace GB63_district_outcome = 2 if GB63_district_name == "JARROW"
replace GB63_district_outcome = 2 if GB63_district_name == "KEIGHLEY"
replace GB63_district_outcome = 2 if GB63_district_name == "KENSINGTON,NORTH"
replace GB63_district_outcome = 1 if GB63_district_name == "KENSINGTON,SOUTH"
replace GB63_district_outcome = 2 if GB63_district_name == "KETTERING"
replace GB63_district_outcome = 1 if GB63_district_name == "KIDDERMINSTER"
replace GB63_district_outcome = 2 if GB63_district_name == "KILMARNOCK"
replace GB63_district_outcome = 2 if GB63_district_name == "KING'S LYNN"
replace GB63_district_outcome = 2 if GB63_district_name == "KINGSTON-UPON-HULL EAST"
replace GB63_district_outcome = 2 if GB63_district_name == "KINGSTON-UPON-HULL NORTH"
replace GB63_district_outcome = 2 if GB63_district_name == "KINGSTON-UPON-HULL WEST"
replace GB63_district_outcome = 1 if GB63_district_name == "KINGSTON UPON THAMES"
replace GB63_district_outcome = 1 if GB63_district_name == "KINROSS AND WEST PERTHSHIRE"
replace GB63_district_outcome = 2 if GB63_district_name == "KIRKCALDY BURGHS"
replace GB63_district_outcome = 1 if GB63_district_name == "KNUTSFORD"
replace GB63_district_outcome = 2 if GB63_district_name == "LAMBETH,BRIXTON"
replace GB63_district_outcome = 1 if GB63_district_name == "LAMBETH,NORWOOD"
replace GB63_district_outcome = 2 if GB63_district_name == "LAMBETH,VAUXHALL"
replace GB63_district_outcome = 2 if GB63_district_name == "LANARK"
replace GB63_district_outcome = 2 if GB63_district_name == "NORTH LANARKSHIRE"
replace GB63_district_outcome = 1 if GB63_district_name == "LANCASTER"
replace GB63_district_outcome = 2 if GB63_district_name == "LEEDS,EAST"
replace GB63_district_outcome = 1 if GB63_district_name == "LEEDS,NORTH EAST"
replace GB63_district_outcome = 1 if GB63_district_name == "LEEDS,NORTH WEST"
replace GB63_district_outcome = 2 if GB63_district_name == "LEEDS,SOUTH"
replace GB63_district_outcome = 2 if GB63_district_name == "LEEDS,SOUTH EAST"
replace GB63_district_outcome = 2 if GB63_district_name == "LEEDS,WEST"
replace GB63_district_outcome = 2 if GB63_district_name == "LEEK"
replace GB63_district_outcome = 2 if GB63_district_name == "LEICESTER,NORTH EAST"
replace GB63_district_outcome = 2 if GB63_district_name == "LEICESTER,NORTH WEST"
replace GB63_district_outcome = 1 if GB63_district_name == "LEICESTER,SOUTH EAST"
replace GB63_district_outcome = 2 if GB63_district_name == "LEICESTER,SOUTH WEST"
replace GB63_district_outcome = 2 if GB63_district_name == "LEIGH"
replace GB63_district_outcome = 1 if GB63_district_name == "LEOMINSTER"
replace GB63_district_outcome = 1 if GB63_district_name == "LEWES"
replace GB63_district_outcome = 1 if GB63_district_name == "LEWISHAM,NORTH"
replace GB63_district_outcome = 2 if GB63_district_name == "LEWISHAM,SOUTH"
replace GB63_district_outcome = 1 if GB63_district_name == "LEWISHAM,WEST"
replace GB63_district_outcome = 2 if GB63_district_name == "LEYTON"
replace GB63_district_outcome = 2 if GB63_district_name == "LICHFIELD AND TAMWORTH"
replace GB63_district_outcome = 2 if GB63_district_name == "LINCOLN"
replace GB63_district_outcome = 2 if GB63_district_name == "LIVERPOOL,EDGE HILL"
replace GB63_district_outcome = 2 if GB63_district_name == "LIVERPOOL,EXCHANGE"
replace GB63_district_outcome = 1 if GB63_district_name == "LIVERPOOL,GARSTON"
replace GB63_district_outcome = 2 if GB63_district_name == "LIVERPOOL,KIRKDALE"
replace GB63_district_outcome = 2 if GB63_district_name == "LIVERPOOL,SCOTLAND"
replace GB63_district_outcome = 2 if GB63_district_name == "LIVERPOOL,TOXTETH"
replace GB63_district_outcome = 2 if GB63_district_name == "LIVERPOOL,WALTON"
replace GB63_district_outcome = 1 if GB63_district_name == "LIVERPOOL,WAVERTREE"
replace GB63_district_outcome = 2 if GB63_district_name == "LIVERPOOL,WEST DERBY"
replace GB63_district_outcome = 2 if GB63_district_name == "LLANELLI"
replace GB63_district_outcome = 1 if GB63_district_name == "CITIES OF LONDON AND WESTMINSTER"
replace GB63_district_outcome = 1 if GB63_district_name == "LONDONDERRY COUNTY"
replace GB63_district_outcome = 2 if GB63_district_name == "LOUGHBOROUGH"
replace GB63_district_outcome = 1 if GB63_district_name == "LOUTH"
replace GB63_district_outcome = 1 if GB63_district_name == "LOWESTOFT"
replace GB63_district_outcome = 1 if GB63_district_name == "LUDLOW"
replace GB63_district_outcome = 2 if GB63_district_name == "LUTON"
replace GB63_district_outcome = 1 if GB63_district_name == "MACCLESFIELD"
replace GB63_district_outcome = 1 if GB63_district_name == "MAIDSTONE"
replace GB63_district_outcome = 1 if GB63_district_name == "MALDON"
replace GB63_district_outcome = 2 if GB63_district_name == "MANCHESTER,ARDWICK"
replace GB63_district_outcome = 2 if GB63_district_name == "MANCHESTER,BLACKLEY"
replace GB63_district_outcome = 2 if GB63_district_name == "MANCHESTER,CHEETHAM"
replace GB63_district_outcome = 2 if GB63_district_name == "MANCHESTER,EXCHANGE"
replace GB63_district_outcome = 2 if GB63_district_name == "MANCHESTER,GORTON"
replace GB63_district_outcome = 1 if GB63_district_name == "MANCHESTER,MOSS SIDE"
replace GB63_district_outcome = 2 if GB63_district_name == "MANCHESTER,OPENSHAW"
replace GB63_district_outcome = 1 if GB63_district_name == "MANCHESTER,WITHINGTON"
replace GB63_district_outcome = 2 if GB63_district_name == "MANCHESTER,WYTHENSHAWE"
replace GB63_district_outcome = 2 if GB63_district_name == "MANSFIELD"
replace GB63_district_outcome = 1 if GB63_district_name == "MELTON"
replace GB63_district_outcome = 2 if GB63_district_name == "MERIDEN"
replace GB63_district_outcome = 2 if GB63_district_name == "MERIONETH"
replace GB63_district_outcome = 2 if GB63_district_name == "MERTHYR TYDFIL"
replace GB63_district_outcome = 1 if GB63_district_name == "MERTON AND MORDEN"
replace GB63_district_outcome = 2 if GB63_district_name == "MIDDLESBROUGH,EAST"
replace GB63_district_outcome = 2 if GB63_district_name == "MIDDLESBROUGH,WEST"
replace GB63_district_outcome = 1 if GB63_district_name == "MIDDLETON AND PRESTWICK"
replace GB63_district_outcome = 2 if GB63_district_name == "MIDLOTHIAN"
replace GB63_district_outcome = 1 if GB63_district_name == "MITCHAM"
replace GB63_district_outcome = 1 if GB63_district_name == "MONMOUTH"
replace GB63_district_outcome = 3 if GB63_district_name == "MONTGOMERY"
replace GB63_district_outcome = 1 if GB63_district_name == "MORAY AND NAIRN"
replace GB63_district_outcome = 1 if GB63_district_name == "MORECAMBE AND LONSDALE"
replace GB63_district_outcome = 2 if GB63_district_name == "MORPETH"
replace GB63_district_outcome = 2 if GB63_district_name == "MOTHERWELL"
replace GB63_district_outcome = 1 if GB63_district_name == "NANTWICH"
replace GB63_district_outcome = 2 if GB63_district_name == "NEATH"
replace GB63_district_outcome = 2 if GB63_district_name == "NELSON AND COLNE"
replace GB63_district_outcome = 2 if GB63_district_name == "NEWARK"
replace GB63_district_outcome = 1 if GB63_district_name == "NEWBURY"
replace GB63_district_outcome = 2 if GB63_district_name == "NEWCASTLE UNDER LYME"
replace GB63_district_outcome = 2 if GB63_district_name == "NEWCASTLE-UPON-TYNE CENTRAL"
replace GB63_district_outcome = 2 if GB63_district_name == "NEWCASTLE-UPON-TYNE EAST"
replace GB63_district_outcome = 1 if GB63_district_name == "NEWCASTLE-UPON-TYNE NORTH"
replace GB63_district_outcome = 2 if GB63_district_name == "NEWCASTLE-UPONTYNE WEST"
replace GB63_district_outcome = 1 if GB63_district_name == "NEW FOREST"
replace GB63_district_outcome = 2 if GB63_district_name == "NEWPORT"
replace GB63_district_outcome = 2 if GB63_district_name == "NEWTON"
replace GB63_district_outcome = 1 if GB63_district_name == "CENTRAL NORFOLK"
replace GB63_district_outcome = 2 if GB63_district_name == "NORTH NORFOLK"
replace GB63_district_outcome = 1 if GB63_district_name == "SOUTH NORFOLK"
replace GB63_district_outcome = 1 if GB63_district_name == "SOUTH WEST NORFOLK"
replace GB63_district_outcome = 2 if GB63_district_name == "NORMANTON"
replace GB63_district_outcome = 2 if GB63_district_name == "NORTHAMPTON"
replace GB63_district_outcome = 1 if GB63_district_name == "SOUTH NORTHAMPTONSHIRE"
replace GB63_district_outcome = 1 if GB63_district_name == "NORTH FYLDE"
replace GB63_district_outcome = 1 if GB63_district_name == "NORTHWICH"
replace GB63_district_outcome = 2 if GB63_district_name == "NORWICH,NORTH"
replace GB63_district_outcome = 2 if GB63_district_name == "NORWICH,SOUTH"
replace GB63_district_outcome = 2 if GB63_district_name == "NOTTINGHAM,CENTRAL"
replace GB63_district_outcome = 2 if GB63_district_name == "NOTTINGHAM,NORTH"
replace GB63_district_outcome = 1 if GB63_district_name == "NOTTINGHAM,SOUTH"
replace GB63_district_outcome = 2 if GB63_district_name == "NOTTINGHAM,WEST"
replace GB63_district_outcome = 2 if GB63_district_name == "NUNEATON"
replace GB63_district_outcome = 2 if GB63_district_name == "OGMORE"
replace GB63_district_outcome = 2 if GB63_district_name == "OLDBURY AND HALESOWEN"
replace GB63_district_outcome = 2 if GB63_district_name == "OLDHAM,EAST"
replace GB63_district_outcome = 2 if GB63_district_name == "OLDHAM,WEST"
replace GB63_district_outcome = 3 if GB63_district_name == "ORKNEY AND ZETLAND"
replace GB63_district_outcome = 1 if GB63_district_name == "ORMSKIRK"
replace GB63_district_outcome = 3 if GB63_district_name == "ORPINGTON"
replace GB63_district_outcome = 1 if GB63_district_name == "OSWESTRY"
replace GB63_district_outcome = 1 if GB63_district_name == "OXFORD"
replace GB63_district_outcome = 2 if GB63_district_name == "PADDINGTON,NORTH"
replace GB63_district_outcome = 1 if GB63_district_name == "PADDINGTON,SOUTH"
replace GB63_district_outcome = 2 if GB63_district_name == "PAISLEY"
replace GB63_district_outcome = 2 if GB63_district_name == "PEMBROKE"
replace GB63_district_outcome = 2 if GB63_district_name == "PENISTONE"
replace GB63_district_outcome = 1 if GB63_district_name == "PENRITH AND THE BORDERS"
replace GB63_district_outcome = 1 if GB63_district_name == "PERTH AND EAST PERTHSHIRE"
replace GB63_district_outcome = 1 if GB63_district_name == "PETERBOROUGH"
replace GB63_district_outcome = 1 if GB63_district_name == "PETERSFIELD"
replace GB63_district_outcome = 1 if GB63_district_name == "PLYMOUTH,DEVONPORT"
replace GB63_district_outcome = 1 if GB63_district_name == "PLYMOUTH,SUTTON"
replace GB63_district_outcome = 2 if GB63_district_name == "PONTEFRACT"
replace GB63_district_outcome = 2 if GB63_district_name == "PONTYPOOL"
replace GB63_district_outcome = 2 if GB63_district_name == "PONTYPRIDD"
replace GB63_district_outcome = 1 if GB63_district_name == "POOLE"
replace GB63_district_outcome = 2 if GB63_district_name == "POPLAR"
replace GB63_district_outcome = 1 if GB63_district_name == "PORTSMOUTH,LANGSTON"
replace GB63_district_outcome = 1 if GB63_district_name == "PORTSMOUTH,SOUTH"
replace GB63_district_outcome = 1 if GB63_district_name == "PORTSMOUTH,WEST"
replace GB63_district_outcome = 1 if GB63_district_name == "PRESTON,NORTH"
replace GB63_district_outcome = 2 if GB63_district_name == "PRESTON,SOUTH"
replace GB63_district_outcome = 1 if GB63_district_name == "PUDSEY"
replace GB63_district_outcome = 1 if GB63_district_name == "READING"
replace GB63_district_outcome = 1 if GB63_district_name == "REIGATE"
replace GB63_district_outcome = 1 if GB63_district_name == "EAST RENFREWSHIRE"
replace GB63_district_outcome = 2 if GB63_district_name == "WEST RENFREWSHIRE"
replace GB63_district_outcome = 2 if GB63_district_name == "RHONDDA,EAST"
replace GB63_district_outcome = 2 if GB63_district_name == "RHONDDA,WEST"
replace GB63_district_outcome = 1 if GB63_district_name == "RICHMOND (SURREY)"
replace GB63_district_outcome = 1 if GB63_district_name == "RICHMOND (YORKSHIRE)"
replace GB63_district_outcome = 1 if GB63_district_name == "RIPON"
replace GB63_district_outcome = 2 if GB63_district_name == "ROCHDALE"
replace GB63_district_outcome = 2 if GB63_district_name == "ROCHESTER AND CHATHAM"
replace GB63_district_outcome = 2 if GB63_district_name == "ROMFORD"
replace GB63_district_outcome = 3 if GB63_district_name == "ROSS AND CROMARTY"
replace GB63_district_outcome = 2 if GB63_district_name == "ROSSENDALE"
replace GB63_district_outcome = 2 if GB63_district_name == "ROTHERHAM"
replace GB63_district_outcome = 2 if GB63_district_name == "ROTHER VALLEY"
replace GB63_district_outcome = 2 if GB63_district_name == "ROWLEY REGIS AND TIPTON"
replace GB63_district_outcome = 1 if GB63_district_name == "ROXBURGH, SELKIRK AND PEEBLES"
replace GB63_district_outcome = 1 if GB63_district_name == "RUGBY"
replace GB63_district_outcome = 1 if GB63_district_name == "RUISLIP-NORTHWOOD"
replace GB63_district_outcome = 1 if GB63_district_name == "RUNCORN"
replace GB63_district_outcome = 1 if GB63_district_name == "RUSHCLIFFE"
replace GB63_district_outcome = 2 if GB63_district_name == "RUTHERGLEN"
replace GB63_district_outcome = 1 if GB63_district_name == "RUTLAND AND STAMFORD"
replace GB63_district_outcome = 1 if GB63_district_name == "RYE"
replace GB63_district_outcome = 1 if GB63_district_name == "SAFFRON WALDON"
replace GB63_district_outcome = 1 if GB63_district_name == "ST.ALBANS"
replace GB63_district_outcome = 2 if GB63_district_name == "ST.HELENS"
replace GB63_district_outcome = 1 if GB63_district_name == "ST.IVES"
replace GB63_district_outcome = 1 if GB63_district_name == "ST.MARYLEBONE"
replace GB63_district_outcome = 2 if GB63_district_name == "ST.PANCRAS NORTH"
replace GB63_district_outcome = 2 if GB63_district_name == "SALFORD,EAST"
replace GB63_district_outcome = 2 if GB63_district_name == "SALFORD,WEST"
replace GB63_district_outcome = 1 if GB63_district_name == "SALISBURY"
replace GB63_district_outcome = 1 if GB63_district_name == "SCARBOROUGH AND WHITBY"
replace GB63_district_outcome = 2 if GB63_district_name == "SEDGEFIELD"
replace GB63_district_outcome = 1 if GB63_district_name == "SEVENOAKS"
replace GB63_district_outcome = 2 if GB63_district_name == "SHEFFIELD,ATTERCLIFFE"
replace GB63_district_outcome = 2 if GB63_district_name == "SHEFFIELD,BRIGHTSIDE"
replace GB63_district_outcome = 1 if GB63_district_name == "SHEFFIELD,HALLAM"
replace GB63_district_outcome = 1 if GB63_district_name == "SHEFFIELD,HEELEY"
replace GB63_district_outcome = 2 if GB63_district_name == "SHEFFIELD,HILLSBOROUGH"
replace GB63_district_outcome = 2 if GB63_district_name == "SHEFFIELD,PARK"
replace GB63_district_outcome = 1 if GB63_district_name == "SHIPLEY"
replace GB63_district_outcome = 2 if GB63_district_name == "SHOREDITCH AND FINSBURY"
replace GB63_district_outcome = 1 if GB63_district_name == "SHREWSBURY"
replace GB63_district_outcome = 1 if GB63_district_name == "SKIPTON"
replace GB63_district_outcome = 1 if GB63_district_name == "SMETHWICK"
replace GB63_district_outcome = 1 if GB63_district_name == "SOLIHULL"
replace GB63_district_outcome = 1 if GB63_district_name == "NORTH SOMERSET"
replace GB63_district_outcome = 2 if GB63_district_name == "SOUTHALL"
replace GB63_district_outcome = 2 if GB63_district_name == "SOUTHAMPTON,ITCHEN"
replace GB63_district_outcome = 1 if GB63_district_name == "SOUTHAMPTON,TEST"
replace GB63_district_outcome = 1 if GB63_district_name == "SOUTHEND EAST"
replace GB63_district_outcome = 1 if GB63_district_name == "SOUTHEND WEST"
replace GB63_district_outcome = 1 if GB63_district_name == "SOUTH FYLDE"
replace GB63_district_outcome = 1 if GB63_district_name == "SOUTHGATE"
replace GB63_district_outcome = 1 if GB63_district_name == "SOUTHPORT"
replace GB63_district_outcome = 2 if GB63_district_name == "SOUTH SHIELDS"
replace GB63_district_outcome = 2 if GB63_district_name == "SOUTHWARK"
replace GB63_district_outcome = 2 if GB63_district_name == "SOWERBY"
replace GB63_district_outcome = 1 if GB63_district_name == "SPELTHORNE"
replace GB63_district_outcome = 1 if GB63_district_name == "STAFFORD AND STONE"
replace GB63_district_outcome = 2 if GB63_district_name == "STALYBRIDGE AND HYDE"
replace GB63_district_outcome = 2 if GB63_district_name == "STEPNEY"
replace GB63_district_outcome = 2 if GB63_district_name == "STIRLING AND FALKIRK"
replace GB63_district_outcome = 2 if GB63_district_name == "CLACKMANNAN AND EAST STIRLINGSHIRE"
replace GB63_district_outcome = 2 if GB63_district_name == "WEST STIRLINGSHIRE"
replace GB63_district_outcome = 2 if GB63_district_name == "STOCKPORT NORTH"
replace GB63_district_outcome = 2 if GB63_district_name == "STOCKPORT SOUTH"
replace GB63_district_outcome = 2 if GB63_district_name == "STOCKTON-ON-TEES"
replace GB63_district_outcome = 2 if GB63_district_name == "STOKE NEWINGTON AND HACKNEY NORTH"
replace GB63_district_outcome = 2 if GB63_district_name == "STOKE ON TRENT,CENTRAL"
replace GB63_district_outcome = 2 if GB63_district_name == "STOKE ON TRENT,NORTH"
replace GB63_district_outcome = 2 if GB63_district_name == "STOKE ON TRENT,SOUTH"
replace GB63_district_outcome = 1 if GB63_district_name == "STRATFORD"
replace GB63_district_outcome = 1 if GB63_district_name == "STRETFORD"
replace GB63_district_outcome = 1 if GB63_district_name == "STROUD"
replace GB63_district_outcome = 1 if GB63_district_name == "SUDBURY AND WOODBRIDGE"
replace GB63_district_outcome = 2 if GB63_district_name == "SUNDERLAND NORTH"
replace GB63_district_outcome = 2 if GB63_district_name == "SUNDERLAND SOUTH"
replace GB63_district_outcome = 1 if GB63_district_name == "SURBITON"
replace GB63_district_outcome = 1 if GB63_district_name == "EAST SURREY"
replace GB63_district_outcome = 1 if GB63_district_name == "SUTTON AND CHEAM"
replace GB63_district_outcome = 1 if GB63_district_name == "SUTTON COLDFIELD"
replace GB63_district_outcome = 2 if GB63_district_name == "SWANSEA,EAST"
replace GB63_district_outcome = 2 if GB63_district_name == "SWANSEA,WEST"
replace GB63_district_outcome = 2 if GB63_district_name == "SWINDON"
replace GB63_district_outcome = 1 if GB63_district_name == "TAUNTON"
replace GB63_district_outcome = 1 if GB63_district_name == "TAVISTOCK"
replace GB63_district_outcome = 1 if GB63_district_name == "THIRSK AND MALTON"
replace GB63_district_outcome = 2 if GB63_district_name == "THURROCK"
replace GB63_district_outcome = 1 if GB63_district_name == "TIVERTON"
replace GB63_district_outcome = 1 if GB63_district_name == "TONBRIDGE"
replace GB63_district_outcome = 1 if GB63_district_name == "TORQUAY"
replace GB63_district_outcome = 1 if GB63_district_name == "TORRINGTON"
replace GB63_district_outcome = 1 if GB63_district_name == "TOTNES"
replace GB63_district_outcome = 2 if GB63_district_name == "TOTTENHAM"
replace GB63_district_outcome = 1 if GB63_district_name == "TRURO"
replace GB63_district_outcome = 1 if GB63_district_name == "TWICKENHAM"
replace GB63_district_outcome = 1 if GB63_district_name == "TYNEMOUTH"
replace GB63_district_outcome = 1 if GB63_district_name == "ULSTER MID"
replace GB63_district_outcome = 1 if GB63_district_name == "UXBRIDGE"
replace GB63_district_outcome = 2 if GB63_district_name == "WAKEFIELD"
replace GB63_district_outcome = 1 if GB63_district_name == "WALLASEY"
replace GB63_district_outcome = 2 if GB63_district_name == "WALLSEND"
replace GB63_district_outcome = 2 if GB63_district_name == "WALSALL,NORTH"
replace GB63_district_outcome = 1 if GB63_district_name == "WALSALL,SOUTH"
replace GB63_district_outcome = 1 if GB63_district_name == "WALTHAMSTOW,EAST"
replace GB63_district_outcome = 2 if GB63_district_name == "WALTHAMSTOW,WEST"
replace GB63_district_outcome = 2 if GB63_district_name == "WANDSWORTH,CENTRAL"
replace GB63_district_outcome = 2 if GB63_district_name == "WANDSWORTH,CLAPHAM"
replace GB63_district_outcome = 2 if GB63_district_name == "WANDSWORTH,PUTNEY"
replace GB63_district_outcome = 1 if GB63_district_name == "WANDSWORTH,STREATHAM"
replace GB63_district_outcome = 1 if GB63_district_name == "WANSTEAD AND WOODFORD"
replace GB63_district_outcome = 2 if GB63_district_name == "WARRINGTON"
replace GB63_district_outcome = 1 if GB63_district_name == "WARWICK AND LEAMINGTON"
replace GB63_district_outcome = 2 if GB63_district_name == "WATFORD"
replace GB63_district_outcome = 2 if GB63_district_name == "WEDNESBURY"
replace GB63_district_outcome = 2 if GB63_district_name == "WELLINGBOROUGH"
replace GB63_district_outcome = 1 if GB63_district_name == "WELLS"
replace GB63_district_outcome = 1 if GB63_district_name == "WEMBLEY NORTH"
replace GB63_district_outcome = 1 if GB63_district_name == "WEMBLEY SOUTH"
replace GB63_district_outcome = 2 if GB63_district_name == "WEST BROMWICH"
replace GB63_district_outcome = 1 if GB63_district_name == "WESTBURY"
replace GB63_district_outcome = 2 if GB63_district_name == "WESTERN ISLES"
replace GB63_district_outcome = 2 if GB63_district_name == "WEST HAM NORTH"
replace GB63_district_outcome = 2 if GB63_district_name == "WEST HAM SOUTH"
replace GB63_district_outcome = 2 if GB63_district_name == "WESTHOUGHTON"
replace GB63_district_outcome = 2 if GB63_district_name == "WEST LOTHIAN"
replace GB63_district_outcome = 1 if GB63_district_name == "WESTMORLAND"
replace GB63_district_outcome = 1 if GB63_district_name == "WESTON SUPER MARE"
replace GB63_district_outcome = 2 if GB63_district_name == "WHITEHAVEN"
replace GB63_district_outcome = 2 if GB63_district_name == "WIDNES"
replace GB63_district_outcome = 2 if GB63_district_name == "WIGAN"
replace GB63_district_outcome = 2 if GB63_district_name == "WILLESDEN,EAST"
replace GB63_district_outcome = 2 if GB63_district_name == "WILLESDEN,WEST"
replace GB63_district_outcome = 1 if GB63_district_name == "WIMBLEDON"
replace GB63_district_outcome = 1 if GB63_district_name == "WINCHESTER"
replace GB63_district_outcome = 1 if GB63_district_name == "WINDSOR"
replace GB63_district_outcome = 1 if GB63_district_name == "WIRRAL"
replace GB63_district_outcome = 1 if GB63_district_name == "WOKING"
replace GB63_district_outcome = 1 if GB63_district_name == "WOKINGHAM"
replace GB63_district_outcome = 2 if GB63_district_name == "WOLVERHAMPTON NORTH EAST"
replace GB63_district_outcome = 1 if GB63_district_name == "WOLVERHAMPTON SOUTH WEST"
replace GB63_district_outcome = 2 if GB63_district_name == "WOOD GREEN"
replace GB63_district_outcome = 2 if GB63_district_name == "WOOLWICH,EAST"
replace GB63_district_outcome = 2 if GB63_district_name == "WOOLWICH,WEST"
replace GB63_district_outcome = 1 if GB63_district_name == "WORCESTER"
replace GB63_district_outcome = 1 if GB63_district_name == "SOUTH WORCESTERSHIRE"
replace GB63_district_outcome = 2 if GB63_district_name == "WORKINGTON"
replace GB63_district_outcome = 1 if GB63_district_name == "WORTHING"
replace GB63_district_outcome = 1 if GB63_district_name == "THE WREKIN"
replace GB63_district_outcome = 2 if GB63_district_name == "WREXHAM"
replace GB63_district_outcome = 1 if GB63_district_name == "WYCOMBE"
replace GB63_district_outcome = 1 if GB63_district_name == "YARMOUTH"
replace GB63_district_outcome = 1 if GB63_district_name == "YEOVIL"
replace GB63_district_outcome = 1 if GB63_district_name == "YORK"


********************************************************
** COMPETITIVENESS: 1964 GENERAL ELECTION (1963 WAVE) **
********************************************************

* Margin of victory by district

gen GB63_margin = .

replace GB63_margin = 51.58261 if GB63_district_name == "ABERAVON"
replace GB63_margin = 62.02239 if GB63_district_name == "ABERDARE"
replace GB63_margin = 37.82298 if GB63_district_name == "ABERDEEN NORTH"
replace GB63_margin = 7.804273 if GB63_district_name == "ABERDEEN SOUTH"
replace GB63_margin = 24.71943 if GB63_district_name == "EAST ABERDEENSHIRE"
replace GB63_margin = 13.21144 if GB63_district_name == "WEST ABERDEENSHIRE"
replace GB63_margin = 71.7997 if GB63_district_name == "ABERTILLERY"
replace GB63_margin = 11.44823 if GB63_district_name == "ABINGDON"
replace GB63_margin = 13.0974 if GB63_district_name == "ACCRINGTON"
replace GB63_margin = 7.534644 if GB63_district_name == "ACTON"
replace GB63_margin = 24.36215 if GB63_district_name == "ALDERSHOT"
replace GB63_margin = 18.81138 if GB63_district_name == "ALTRINCHAM AND SALE"
replace GB63_margin = 23.25011 if GB63_district_name == "ANGLESEY"
replace GB63_margin = 15.20492 if GB63_district_name == "NORTH ANGUS AND MEARNS"
replace GB63_margin = 35.61318 if GB63_district_name == "SOUTH ANGUS"
replace GB63_margin = 80.24824 if GB63_district_name == "ANTRIM NORTH"
replace GB63_margin = 45.49538 if GB63_district_name == "ANTRIM SOUTH"
replace GB63_margin = 18.3497 if GB63_district_name == "ARGYLL"
replace GB63_margin = 42.06689 if GB63_district_name == "ARMAGH"
replace GB63_margin = 33.18752 if GB63_district_name == "ARUNDEL AND SHOREHAM"
replace GB63_margin = 45.68681 if GB63_district_name == "ASHFIELD"
replace GB63_margin = 21.24054 if GB63_district_name == "ASHFORD"
replace GB63_margin = 9.084876 if GB63_district_name == "ASHTON UNDER LYNE"
replace GB63_margin = 14.59584 if GB63_district_name == "AYLESBURY"
replace GB63_margin = 4.430495 if GB63_district_name == "AYR"
replace GB63_margin = 12.87804 if GB63_district_name == "CENTRAL AYRSHIRE"
replace GB63_margin = 13.78467 if GB63_district_name == "BUTE AND NORTH AYRSHIRE"
replace GB63_margin = 33.35305 if GB63_district_name == "SOUTH AYRSHIRE"
replace GB63_margin = 8.85776 if GB63_district_name == "BANBURY"
replace GB63_margin = 21.12986 if GB63_district_name == "BANFF"
replace GB63_margin = 40.09072 if GB63_district_name == "BARKING"
replace GB63_margin = 17.63441 if GB63_district_name == "BARKSTON ASH"
replace GB63_margin = 15.93031 if GB63_district_name == "BARNET"
replace GB63_margin = 49.91929 if GB63_district_name == "BARNSLEY"
replace GB63_margin = 3.471581 if GB63_district_name == "BARONS COURT"
replace GB63_margin = 10.25456 if GB63_district_name == "BARROW IN FURNESS"
replace GB63_margin = 8.059093 if GB63_district_name == "BARRY"
replace GB63_margin = 14.86285 if GB63_district_name == "BASINGSTOKE"
replace GB63_margin = 18.05297 if GB63_district_name == "BASSETLAW"
replace GB63_margin = 8.271513 if GB63_district_name == "BATH"
replace GB63_margin = 22.26201 if GB63_district_name == "BATLEY AND MORLEY"
replace GB63_margin = 38.75827 if GB63_district_name == "BATTERSEA,NORTH"
replace GB63_margin = 6.260989 if GB63_district_name == "BATTERSEA,SOUTH"
replace GB63_margin = 3.716228 if GB63_district_name == "BEBINGTON"
replace GB63_margin = 29.75689 if GB63_district_name == "BECKENHAM"
replace GB63_margin = 6.645276 if GB63_district_name == "BEDFORD"
replace GB63_margin = 10.92126 if GB63_district_name == "MID-BEDFORDSHIRE"
replace GB63_margin = .5034379 if GB63_district_name == "SOUTH BEDFORDSHIRE"
replace GB63_margin = 67.02143 if GB63_district_name == "BEDWELLTY"
replace GB63_margin = 21.92434 if GB63_district_name == "BELFAST EAST"
replace GB63_margin = 24.68429 if GB63_district_name == "BELFAST NORTH"
replace GB63_margin = 47.3877 if GB63_district_name == "BELFAST SOUTH"
replace GB63_margin = 6.564176 if GB63_district_name == "BELFAST WEST"
replace GB63_margin = 9.792575 if GB63_district_name == "BELPER"
replace GB63_margin = 58.56501 if GB63_district_name == "BERMONDSEY"
replace GB63_margin = 1.463255 if GB63_district_name == "BERWICK AND EAST LOTHIAN"
replace GB63_margin = 24.04095 if GB63_district_name == "BERWICK UPON TWEED"
replace GB63_margin = 46.49223 if GB63_district_name == "BETHNAL GREEN"
replace GB63_margin = 8.456336 if GB63_district_name == "BEXLEY"
replace GB63_margin = 1.994787 if GB63_district_name == "BILLERICAY"
replace GB63_margin = 6.265188 if GB63_district_name == "BILSTON"
replace GB63_margin = 13.91269 if GB63_district_name == "BIRKENHEAD"
replace GB63_margin = 1.594301 if GB63_district_name == "BIRMINGHAM,ALL SAINTS"
replace GB63_margin = 9.439677 if GB63_district_name == "BIRMINGHAM,ASTON"
replace GB63_margin = 34.71087 if GB63_district_name == "BIRMINGHAM,EDGBASTON"
replace GB63_margin = 20.67782 if GB63_district_name == "BIRMINGHAM,HALL GREEN"
replace GB63_margin = 13.90941 if GB63_district_name == "BIRMINGHAM,HANDSWORTH"
replace GB63_margin = 26.40671 if GB63_district_name == "BIRMINGHAM,LADYWOOD"
replace GB63_margin = 6.830416 if GB63_district_name == "BIRMINGHAM,NORTHFIED"
replace GB63_margin = .8924916 if GB63_district_name == "BIRMINGHAM,PERRY BARR"
replace GB63_margin = 13.83145 if GB63_district_name == "BIRMINGHAM,SELLY OAK"
replace GB63_margin = 24.05836 if GB63_district_name == "BIRMINGHAM,SMALL HEATH"
replace GB63_margin = 4.003831 if GB63_district_name == "BIRMINGHAM,SPARKBROOK"
replace GB63_margin = 13.65641 if GB63_district_name == "BIRMINGHAM,STECHFORD"
replace GB63_margin = .3721893 if GB63_district_name == "BIRMINGHAM,YARDLEY"
replace GB63_margin = 23.62851 if GB63_district_name == "BISHOP AUCKLAND"
replace GB63_margin = 14.92217 if GB63_district_name == "BLACKBURN"
replace GB63_margin = 19.6239 if GB63_district_name == "BLACKPOOL,NORTH"
replace GB63_margin = 16.64336 if GB63_district_name == "BLACKPOOL,SOUTH"
replace GB63_margin = 32.34278 if GB63_district_name == "BLAYDON"
replace GB63_margin = 51.87114 if GB63_district_name == "BLYTH"
replace GB63_margin = 8.446456 if GB63_district_name == "BODMIN"
replace GB63_margin = 58.68919 if GB63_district_name == "BOLSOVER"
replace GB63_margin = 6.622544 if GB63_district_name == "BOLTON,EAST"
replace GB63_margin = 7.468787 if GB63_district_name == "BOLTON,WEST"
replace GB63_margin = 24.0032 if GB63_district_name == "BOOTLE"
replace GB63_margin = 10.3493 if GB63_district_name == "BOSWORTH"
replace GB63_margin = 20.79607 if GB63_district_name == "BOTHWELL"
replace GB63_margin = 34.46211 if GB63_district_name == "BOURNEMOUTH EAST AND CHRISTCHURCH"
replace GB63_margin = 23.44794 if GB63_district_name == "BOURNEMOUTH WEST"
replace GB63_margin = 23.67333 if GB63_district_name == "BRADFORD,EAST"
replace GB63_margin = 3.405271 if GB63_district_name == "BRADFORD,NORTH"
replace GB63_margin = 8.608191 if GB63_district_name == "BRADFORD,SOUTH"
replace GB63_margin = 8.049623 if GB63_district_name == "BRADFORD,WEST"
replace GB63_margin = 20.58392 if GB63_district_name == "BRECON AND RADNOR"
replace GB63_margin = 1.786829 if GB63_district_name == "BRENTFORD AND CHISWICK"
replace GB63_margin = 13.27987 if GB63_district_name == "BRIDGWATER"
replace GB63_margin = 34.12555 if GB63_district_name == "BRIDLINGTON"
replace GB63_margin = 6.861187 if GB63_district_name == "BRIERLEY HILL"
replace GB63_margin = 11.48847 if GB63_district_name == "BRIGG"
replace GB63_margin = 1.963498 if GB63_district_name == "BRIGHOUSE AND SPENBOROUGH"
replace GB63_margin = .0156919 if GB63_district_name == "BRIGHTON,KEMPTOWN"
replace GB63_margin = 24.93166 if GB63_district_name == "BRIGHTON,PAVILION"
replace GB63_margin = 15.42727 if GB63_district_name == "BRISTOL,CENTRAL"
replace GB63_margin = 2.523916 if GB63_district_name == "BRISTOL,NORTH EAST"
replace GB63_margin = 2.240936 if GB63_district_name == "BRISTOL,NORTH WEST"
replace GB63_margin = 26.96949 if GB63_district_name == "BRISTOL,SOUTH"
replace GB63_margin = 20.32067 if GB63_district_name == "BRISTOL,SOUTH EAST"
replace GB63_margin = 37.8684 if GB63_district_name == "BRISTOL,WEST"
replace GB63_margin = 29.15423 if GB63_district_name == "BROMLEY"
replace GB63_margin = 11.42429 if GB63_district_name == "BROMSGROVE"
replace GB63_margin = 2.946267 if GB63_district_name == "BUCKINGHAM"
replace GB63_margin = 27.62323 if GB63_district_name == "SOUTH BUCKINGHAMSHIRE"
replace GB63_margin = 28.97934 if GB63_district_name == "BURNLEY"
replace GB63_margin = 6.487752 if GB63_district_name == "BURTON"
replace GB63_margin = 2.266467 if GB63_district_name == "BURY AND RADCLIFFE"
replace GB63_margin = 9.927978 if GB63_district_name == "BURY ST.EDMUNDS"
replace GB63_margin = 30.16825 if GB63_district_name == "CAERNARVON"
replace GB63_margin = 55.26586 if GB63_district_name == "CAERPHILLY"
replace GB63_margin = 5.833105 if GB63_district_name == "CAITHNESS AND SUTHERLAND"
replace GB63_margin = 5.979321 if GB63_district_name == "CAMBERWELL,DULWICH"
replace GB63_margin = 28.35307 if GB63_district_name == "CAMBERWELL,PECKHAM"
replace GB63_margin = 2.907439 if GB63_district_name == "CAMBRIDGE"
replace GB63_margin = 13.97254 if GB63_district_name == "CAMBRIDGESHIRE"
replace GB63_margin = 15.05952 if GB63_district_name == "CANNOCK"
replace GB63_margin = 22.50291 if GB63_district_name == "CANTERBURY"
replace GB63_margin = 7.40453 if GB63_district_name == "CARDIFF,NORTH"
replace GB63_margin = 14.95889 if GB63_district_name == "CARDIFF,SOUTH EAST"
replace GB63_margin = 18.33678 if GB63_district_name == "CARDIFF,WEST"
replace GB63_margin = 7.411489 if GB63_district_name == "CARDIGAN"
replace GB63_margin = 5.040179 if GB63_district_name == "CARLISLE"
replace GB63_margin = 10.67658 if GB63_district_name == "CARLTON"
replace GB63_margin = 13.18621 if GB63_district_name == "CARMARTHEN"
replace GB63_margin = 18.74041 if GB63_district_name == "CARSHALTON"
replace GB63_margin = 11.98593 if GB63_district_name == "CHEADLE"
replace GB63_margin = 12.10937 if GB63_district_name == "CHELMSFORD"
replace GB63_margin = 36.38161 if GB63_district_name == "CHELSEA"
replace GB63_margin = 12.4994 if GB63_district_name == "CHELTENHAM"
replace GB63_margin = 17.41179 if GB63_district_name == "CHERTSEY"
replace GB63_margin = 13.61903 if GB63_district_name == "CITY OF CHESTER"
replace GB63_margin = 27.82829 if GB63_district_name == "CHESTERFIELD"
replace GB63_margin = 50.39089 if GB63_district_name == "CHESTER-LE-STREET"
replace GB63_margin = 35.01693 if GB63_district_name == "CHICHESTER"
replace GB63_margin = 8.50806 if GB63_district_name == "CHIGWELL"
replace GB63_margin = 3.450281 if GB63_district_name == "CHIPPENHAM"
replace GB63_margin = 3.013246 if GB63_district_name == "CHISLEHURST"
replace GB63_margin = 7.274971 if GB63_district_name == "CHORLEY"
replace GB63_margin = 19.2706 if GB63_district_name == "CIRENCESTER AND TEWKESBURY"
replace GB63_margin = 6.975837 if GB63_district_name == "CLEVELAND"
replace GB63_margin = 11.25217 if GB63_district_name == "CLITHEROE"
replace GB63_margin = 24.21957 if GB63_district_name == "COATBRIDGE AND AIRDRIE"
replace GB63_margin = 6.985098 if GB63_district_name == "COLCHESTER"
replace GB63_margin = .424094 if GB63_district_name == "COLNE VALLEY"
replace GB63_margin = 36.20029 if GB63_district_name == "CONSETT"
replace GB63_margin = 9.499258 if GB63_district_name == "CONWAY"
replace GB63_margin = 1.868872 if GB63_district_name == "NORTH CORNWALL"
replace GB63_margin = 21.51769 if GB63_district_name == "COVENTRY,EAST"
replace GB63_margin = 7.969837 if GB63_district_name == "COVENTRY,NORTH"
replace GB63_margin = 3.235829 if GB63_district_name == "COVENTRY,SOUTH"
replace GB63_margin = 14.36124 if GB63_district_name == "CREWE"
replace GB63_margin = 16.66441 if GB63_district_name == "CROSBY"
replace GB63_margin = 8.993802 if GB63_district_name == "CROYDON,NORTH EAST"
replace GB63_margin = 13.43874 if GB63_district_name == "CROYDON,NORTH WEST"
replace GB63_margin = 5.494599 if GB63_district_name == "CROYDON,SOUTH"
replace GB63_margin = 46.1496 if GB63_district_name == "DAGENHAM"
replace GB63_margin = 3.965123 if GB63_district_name == "DARLINGTON"
replace GB63_margin = 8.274774 if GB63_district_name == "DARTFORD"
replace GB63_margin = 9.85518 if GB63_district_name == "DARWEN"
replace GB63_margin = 61.54759 if GB63_district_name == "DEARNE VALLEY"
replace GB63_margin = 10.66461 if GB63_district_name == "DENBIGH"
replace GB63_margin = 33.30272 if GB63_district_name == "DEPTFORD"
replace GB63_margin = 18.28906 if GB63_district_name == "DERBY NORTH"
replace GB63_margin = 15.47411 if GB63_district_name == "DERBY SOUTH"
replace GB63_margin = 28.38379 if GB63_district_name == "NORTH EAST DERBYSHIRE"
replace GB63_margin = 1.500438 if GB63_district_name == "SOUTH EAST DERBYSHIRE"
replace GB63_margin = 13.83859 if GB63_district_name == "WEST DERBYSHIRE"
replace GB63_margin = 8.740508 if GB63_district_name == "DEVIZES"
replace GB63_margin = 13.68542 if GB63_district_name == "NORTH DEVON"
replace GB63_margin = 14.17437 if GB63_district_name == "DEWSBURY"
replace GB63_margin = 2.329524 if GB63_district_name == "DONCASTER"
replace GB63_margin = 43.79541 if GB63_district_name == "DON VALLEY"
replace GB63_margin = 32.75159 if GB63_district_name == "DORKING"
replace GB63_margin = 12.53696 if GB63_district_name == "NORTH DORSET"
replace GB63_margin = 1.924541 if GB63_district_name == "SOUTH DORSET"
replace GB63_margin = 19.63828 if GB63_district_name == "WEST DORSET"
replace GB63_margin = .7790514 if GB63_district_name == "DOVER"
replace GB63_margin = 54.66941 if GB63_district_name == "DOWN NORTH"
replace GB63_margin = 39.21502 if GB63_district_name == "DOWN SOUTH"
replace GB63_margin = 17.99891 if GB63_district_name == "DUDLEY"
replace GB63_margin = 9.500661 if GB63_district_name == "DUMFRIES"
replace GB63_margin = 13.05111 if GB63_district_name == "EAST DUNBARTONSHIRE"
replace GB63_margin = 13.55855 if GB63_district_name == "WEST DUNBARTONSHIRE"
replace GB63_margin = 9.593995 if GB63_district_name == "DUNDEE EAST"
replace GB63_margin = 9.090193 if GB63_district_name == "DUNDEE WEST"
replace GB63_margin = 23.10896 if GB63_district_name == "DUNFERMLINE BURGHS"
replace GB63_margin = 36.66479 if GB63_district_name == "DURHAM"
replace GB63_margin = 39.49472 if GB63_district_name == "NORTH WEST DURHAM"
replace GB63_margin = .0561062 if GB63_district_name == "EALING,NORTH"
replace GB63_margin = 22.07384 if GB63_district_name == "EALING,SOUTH"
replace GB63_margin = 60.8965 if GB63_district_name == "EASINGTON"
replace GB63_margin = 20.35631 if GB63_district_name == "EASTBOURNE"
replace GB63_margin = 26.21467 if GB63_district_name == "EAST GRINSTEAD"
replace GB63_margin = 20.71592 if GB63_district_name == "EAST HAM,NORTH"
replace GB63_margin = 31.98021 if GB63_district_name == "EAST HAM,SOUTH"
replace GB63_margin = 4.057915 if GB63_district_name == "EASTLEIGH"
replace GB63_margin = 67.19149 if GB63_district_name == "EBBW VALE"
replace GB63_margin = 14.68844 if GB63_district_name == "ECCLES"
replace GB63_margin = 7.967702 if GB63_district_name == "EDINBURGH CENTRAL"
replace GB63_margin = 12.29404 if GB63_district_name == "EDINBURGH EAST"
replace GB63_margin = 10.99579 if GB63_district_name == "EDINBURGH LEITH"
replace GB63_margin = 16.45207 if GB63_district_name == "EDINBURGH NORTH"
replace GB63_margin = 5.445172 if GB63_district_name == "EDINBURGH PENTLANDS"
replace GB63_margin = 19.45177 if GB63_district_name == "EDINBURGH SOUTH"
replace GB63_margin = 15.26467 if GB63_district_name == "EDINBURGH WEST"
replace GB63_margin = 10.35228 if GB63_district_name == "EDMONTON"
replace GB63_margin = 18.53507 if GB63_district_name == "ENFIELD,EAST"
replace GB63_margin = 28.2401 if GB63_district_name == "ENFIELD,WEST"
replace GB63_margin = 4.107209 if GB63_district_name == "EPPING"
replace GB63_margin = 30.98798 if GB63_district_name == "EPSOM"
replace GB63_margin = 20.61892 if GB63_district_name == "ERITH AND CRAYFORD"
replace GB63_margin = 33.11742 if GB63_district_name == "ESHER"
replace GB63_margin = 13.95036 if GB63_district_name == "SOUTH EAST ESSEX"
replace GB63_margin = .0242553 if GB63_district_name == "ETON AND SLOUGH"
replace GB63_margin = 3.12938 if GB63_district_name == "EXETER"
replace GB63_margin = 11.51504 if GB63_district_name == "EYE"
replace GB63_margin = 6.912845 if GB63_district_name == "FALMOUTH AND CAMBORNE"
replace GB63_margin = 22.7645 if GB63_district_name == "FARNHAM"
replace GB63_margin = 24.11465 if GB63_district_name == "FARNWORTH"
replace GB63_margin = 8.023642 if GB63_district_name == "FAVERSHAM"
replace GB63_margin = 13.88962 if GB63_district_name == "FELTHAM"
replace GB63_margin = 25.45648 if GB63_district_name == "FERMANAGH AND SOUTH TYRONE"
replace GB63_margin = 29.00886 if GB63_district_name == "EAST FIFE"
replace GB63_margin = 38.50406 if GB63_district_name == "WEST FIFE"
replace GB63_margin = 16.67424 if GB63_district_name == "FINCHLEY"
replace GB63_margin = 8.420246 if GB63_district_name == "EAST FLINTSHIRE"
replace GB63_margin = 12.88466 if GB63_district_name == "WEST FLINTSHIRE"
replace GB63_margin = 24.46637 if GB63_district_name == "FOLKESTONE AND HYTHE"
replace GB63_margin = 14.02643 if GB63_district_name == "FULHAM"
replace GB63_margin = 17.64414 if GB63_district_name == "GAINSBOROUGH"
replace GB63_margin = 28.71506 if GB63_district_name == "GALLOWAY"
replace GB63_margin = 29.01398 if GB63_district_name == "GATESHEAD EAST"
replace GB63_margin = 37.94215 if GB63_district_name == "GATESHEAD WEST"
replace GB63_margin = 14.32815 if GB63_district_name == "GILLINGHAM"
replace GB63_margin = 43.18001 if GB63_district_name == "GLASGOW BRIDGETON"
replace GB63_margin = 5.824433 if GB63_district_name == "GLASGOW CATHCART"
replace GB63_margin = 40.29019 if GB63_district_name == "GLASGOW CENTRAL"
replace GB63_margin = 16.77795 if GB63_district_name == "GLASGOW CRAIGTON"
replace GB63_margin = 48.37092 if GB63_district_name == "GLASGOW GORBALS"
replace GB63_margin = 34.38849 if GB63_district_name == "GLASGOW GOVAN"
replace GB63_margin = 27.93525 if GB63_district_name == "GLASGOW HILLHEAD"
replace GB63_margin = 8.096807 if GB63_district_name == "GLASGOW KELVINGROVE"
replace GB63_margin = 40.72626 if GB63_district_name == "GLASGOW MARYHILL"
replace GB63_margin = .729927 if GB63_district_name == "GLASGOW POLLOK"
replace GB63_margin = 31.63191 if GB63_district_name == "GLASGOW PROVAN"
replace GB63_margin = 23.19329 if GB63_district_name == "GLASGOW SCOTSTOUN"
replace GB63_margin = 35.94827 if GB63_district_name == "GLASGOW SHETTLESTON"
replace GB63_margin = 43.43575 if GB63_district_name == "GLASGOW SPRINGBURN"
replace GB63_margin = 5.292846 if GB63_district_name == "GLASGOW WOODSIDE"
replace GB63_margin = 9.550875 if GB63_district_name == "GLOUCESTER"
replace GB63_margin = 6.413954 if GB63_district_name == "SOUTH GLOUCESTERSHIRE"
replace GB63_margin = 15.85358 if GB63_district_name == "WEST GLOUCESTERSHIRE"
replace GB63_margin = 23.46378 if GB63_district_name == "GOOLE"
replace GB63_margin = 22.52221 if GB63_district_name == "GOSPORT AND FAREHAM"
replace GB63_margin = 48.55775 if GB63_district_name == "GOWER"
replace GB63_margin = 11.86948 if GB63_district_name == "GRANTHAM"
replace GB63_margin = 1.302795 if GB63_district_name == "GRAVESEND"
replace GB63_margin = 29.68579 if GB63_district_name == "GREENOCK"
replace GB63_margin = 25.17052 if GB63_district_name == "GREENWICH"
replace GB63_margin = 8.672648 if GB63_district_name == "GRIMSBY"
replace GB63_margin = 22.87919 if GB63_district_name == "GUILDFORD"
replace GB63_margin = 32.64838 if GB63_district_name == "HACKNEY CENTRAL"
replace GB63_margin = 2.000303 if GB63_district_name == "HALIFAX"
replace GB63_margin = 33.93291 if GB63_district_name == "HALTEMPRICE"
replace GB63_margin = 42.08487 if GB63_district_name == "HAMILTON"
replace GB63_margin = 25.81488 if GB63_district_name == "HAMMERSMITH NORTH"
replace GB63_margin = 3.992602 if GB63_district_name == "HAMPSTEAD"
replace GB63_margin = 18.72896 if GB63_district_name == "HARBOROUGH"
replace GB63_margin = 35.66096 if GB63_district_name == "HARROGATE"
replace GB63_margin = 12.48847 if GB63_district_name == "HARROW,CENTRAL"
replace GB63_margin = 5.889715 if GB63_district_name == "HARROW,EAST"
replace GB63_margin = 28.91266 if GB63_district_name == "HARROW,WEST"
replace GB63_margin = 5.863106 if GB63_district_name == "THE HARTLEPOOLS"
replace GB63_margin = 20.53089 if GB63_district_name == "HARWICH"
replace GB63_margin = 14.70139 if GB63_district_name == "HASTINGS"
replace GB63_margin = 20.14743 if GB63_district_name == "HAYES AND HARLINGTON"
replace GB63_margin = 6.984923 if GB63_district_name == "HEMEL HEMPSTEAD"
replace GB63_margin = 66.13798 if GB63_district_name == "HEMSWORTH"
replace GB63_margin = 2.798596 if GB63_district_name == "HENDON,NORTH"
replace GB63_margin = 18.2945 if GB63_district_name == "HENDON,SOUTH"
replace GB63_margin = 16.37381 if GB63_district_name == "HENLEY"
replace GB63_margin = 14.72317 if GB63_district_name == "HEREFORD"
replace GB63_margin = 6.304648 if GB63_district_name == "HERTFORD"
replace GB63_margin = 12.73735 if GB63_district_name == "EAST HERTFORDSHIRE"
replace GB63_margin = 9.816318 if GB63_district_name == "SOUTH WEST HERTFORDSHIRE"
replace GB63_margin = 8.559443 if GB63_district_name == "HESTON AND ISLEWORTH"
replace GB63_margin = 18.82122 if GB63_district_name == "HEXHAM"
replace GB63_margin = 1.650285 if GB63_district_name == "HEYWOOD AND ROYTON"
replace GB63_margin = 3.236034 if GB63_district_name == "HIGH PEAK"
replace GB63_margin = 4.559107 if GB63_district_name == "HITCHIN"
replace GB63_margin = 9.433187 if GB63_district_name == "HOLBORN AND ST.PANCRAS"
replace GB63_margin = 10.71898 if GB63_district_name == "HOLLAND WITH BOSTON"
replace GB63_margin = 29.35637 if GB63_district_name == "HONITON"
replace GB63_margin = 24.35324 if GB63_district_name == "HORNCASTLE"
replace GB63_margin = .314698 if GB63_district_name == "HORNCHURCH"
replace GB63_margin = 8.394123 if GB63_district_name == "HORNSEY"
replace GB63_margin = 14.46857 if GB63_district_name == "HORSHAM"
replace GB63_margin = 49.6431 if GB63_district_name == "HOUGHTON-LE-SPRING"
replace GB63_margin = 36.78875 if GB63_district_name == "HOVE"
replace GB63_margin = 28.29049 if GB63_district_name == "HOWDEN"
replace GB63_margin = 20.55585 if GB63_district_name == "HUDDERSFIELD,EAST"
replace GB63_margin = 3.092535 if GB63_district_name == "HUDDERSFIELD,WEST"
replace GB63_margin = 19.77469 if GB63_district_name == "HUNTINGDONSHIRE"
replace GB63_margin = 29.17853 if GB63_district_name == "HUYTON"
replace GB63_margin = 14.66963 if GB63_district_name == "ILFORD,NORTH"
replace GB63_margin = 3.441039 if GB63_district_name == "ILFORD,SOUTH"
replace GB63_margin = 36.14086 if GB63_district_name == "ILKESTON"
replace GB63_margin = 43.98293 if GB63_district_name == "INCE"
replace GB63_margin = 5.977166 if GB63_district_name == "INVERNESS"
replace GB63_margin = 3.924606 if GB63_district_name == "IPSWICH"
replace GB63_margin = 12.4975 if GB63_district_name == "THE ISLE OF ELY"
replace GB63_margin = 12.5923 if GB63_district_name == "ISLE OF THANET"
replace GB63_margin = 21.89001 if GB63_district_name == "ISLE OF WIGHT"
replace GB63_margin = 23.95252 if GB63_district_name == "ISLINGTON,EAST"
replace GB63_margin = 23.55812 if GB63_district_name == "ISLINGTON,NORTH"
replace GB63_margin = 35.44407 if GB63_district_name == "ISLINGTON,SOUTH WEST"
replace GB63_margin = 28.47914 if GB63_district_name == "JARROW"
replace GB63_margin = 6.514713 if GB63_district_name == "KEIGHLEY"
replace GB63_margin = 8.136559 if GB63_district_name == "KENSINGTON,NORTH"
replace GB63_margin = 51.33609 if GB63_district_name == "KENSINGTON,SOUTH"
replace GB63_margin = 10.3711 if GB63_district_name == "KETTERING"
replace GB63_margin = 14.2406 if GB63_district_name == "KIDDERMINSTER"
replace GB63_margin = 35.57607 if GB63_district_name == "KILMARNOCK"
replace GB63_margin = .2428999 if GB63_district_name == "KING'S LYNN"
replace GB63_margin = 29.89086 if GB63_district_name == "KINGSTON-UPON-HULL EAST"
replace GB63_margin = 2.475009 if GB63_district_name == "KINGSTON-UPON-HULL NORTH"
replace GB63_margin = 13.80494 if GB63_district_name == "KINGSTON-UPON-HULL WEST"
replace GB63_margin = 22.81826 if GB63_district_name == "KINGSTON UPON THAMES"
replace GB63_margin = 47.89758 if GB63_district_name == "KINROSS AND WEST PERTHSHIRE"
replace GB63_margin = 30.92577 if GB63_district_name == "KIRKCALDY BURGHS"
replace GB63_margin = 28.53586 if GB63_district_name == "KNUTSFORD"
replace GB63_margin = 16.11135 if GB63_district_name == "LAMBETH,BRIXTON"
replace GB63_margin = 1.164592 if GB63_district_name == "LAMBETH,NORWOOD"
replace GB63_margin = 28.22363 if GB63_district_name == "LAMBETH,VAUXHALL"
replace GB63_margin = 9.64397 if GB63_district_name == "LANARK"
replace GB63_margin = 21.23804 if GB63_district_name == "NORTH LANARKSHIRE"
replace GB63_margin = 7.060129 if GB63_district_name == "LANCASTER"
replace GB63_margin = 15.71221 if GB63_district_name == "LEEDS,EAST"
replace GB63_margin = 21.40048 if GB63_district_name == "LEEDS,NORTH EAST"
replace GB63_margin = 19.14219 if GB63_district_name == "LEEDS,NORTH WEST"
replace GB63_margin = 28.86691 if GB63_district_name == "LEEDS,SOUTH"
replace GB63_margin = 35.34665 if GB63_district_name == "LEEDS,SOUTH EAST"
replace GB63_margin = 15.9971 if GB63_district_name == "LEEDS,WEST"
replace GB63_margin = 6.589166 if GB63_district_name == "LEEK"
replace GB63_margin = 9.87695 if GB63_district_name == "LEICESTER,NORTH EAST"
replace GB63_margin = 11.60163 if GB63_district_name == "LEICESTER,NORTH WEST"
replace GB63_margin = 29.24562 if GB63_district_name == "LEICESTER,SOUTH EAST"
replace GB63_margin = 11.95655 if GB63_district_name == "LEICESTER,SOUTH WEST"
replace GB63_margin = 35.04711 if GB63_district_name == "LEIGH"
replace GB63_margin = 21.03979 if GB63_district_name == "LEOMINSTER"
replace GB63_margin = 28.99235 if GB63_district_name == "LEWES"
replace GB63_margin = .9087778 if GB63_district_name == "LEWISHAM,NORTH"
replace GB63_margin = 19.83799 if GB63_district_name == "LEWISHAM,SOUTH"
replace GB63_margin = 2.183826 if GB63_district_name == "LEWISHAM,WEST"
replace GB63_margin = 16.88107 if GB63_district_name == "LEYTON"
replace GB63_margin = 8.175158 if GB63_district_name == "LICHFIELD AND TAMWORTH"
replace GB63_margin = 11.44145 if GB63_district_name == "LINCOLN"
replace GB63_margin = 18.07962 if GB63_district_name == "LIVERPOOL,EDGE HILL"
replace GB63_margin = 40.23283 if GB63_district_name == "LIVERPOOL,EXCHANGE"
replace GB63_margin = 13.36664 if GB63_district_name == "LIVERPOOL,GARSTON"
replace GB63_margin = 11.05716 if GB63_district_name == "LIVERPOOL,KIRKDALE"
replace GB63_margin = 40.57544 if GB63_district_name == "LIVERPOOL,SCOTLAND"
replace GB63_margin = 8.873024 if GB63_district_name == "LIVERPOOL,TOXTETH"
replace GB63_margin = 7.265363 if GB63_district_name == "LIVERPOOL,WALTON"
replace GB63_margin = 19.82955 if GB63_district_name == "LIVERPOOL,WAVERTREE"
replace GB63_margin = 9.352444 if GB63_district_name == "LIVERPOOL,WEST DERBY"
replace GB63_margin = 53.12203 if GB63_district_name == "LLANELLI"
replace GB63_margin = 27.7931 if GB63_district_name == "CITIES OF LONDON AND WESTMINSTER"
replace GB63_margin = 28.18115 if GB63_district_name == "LONDONDERRY COUNTY"
replace GB63_margin = 9.522781 if GB63_district_name == "LOUGHBOROUGH"
replace GB63_margin = 16.23236 if GB63_district_name == "LOUTH"
replace GB63_margin = 5.390857 if GB63_district_name == "LOWESTOFT"
replace GB63_margin = 17.7263 if GB63_district_name == "LUDLOW"
replace GB63_margin = 1.527056 if GB63_district_name == "LUTON"
replace GB63_margin = 12.16922 if GB63_district_name == "MACCLESFIELD"
replace GB63_margin = 14.84308 if GB63_district_name == "MAIDSTONE"
replace GB63_margin = 3.22404 if GB63_district_name == "MALDON"
replace GB63_margin = 22.41098 if GB63_district_name == "MANCHESTER,ARDWICK"
replace GB63_margin = 2.720392 if GB63_district_name == "MANCHESTER,BLACKLEY"
replace GB63_margin = 32.56227 if GB63_district_name == "MANCHESTER,CHEETHAM"
replace GB63_margin = 38.17966 if GB63_district_name == "MANCHESTER,EXCHANGE"
replace GB63_margin = 10.21679 if GB63_district_name == "MANCHESTER,GORTON"
replace GB63_margin = 12.88278 if GB63_district_name == "MANCHESTER,MOSS SIDE"
replace GB63_margin = 24.26496 if GB63_district_name == "MANCHESTER,OPENSHAW"
replace GB63_margin = 12.46969 if GB63_district_name == "MANCHESTER,WITHINGTON"
replace GB63_margin = 8.485053 if GB63_district_name == "MANCHESTER,WYTHENSHAWE"
replace GB63_margin = 41.64624 if GB63_district_name == "MANSFIELD"
replace GB63_margin = 20.78606 if GB63_district_name == "MELTON"
replace GB63_margin = .6206508 if GB63_district_name == "MERIDEN"
replace GB63_margin = 5.691761 if GB63_district_name == "MERIONETH"
replace GB63_margin = 59.8577 if GB63_district_name == "MERTHYR TYDFIL"
replace GB63_margin = 6.816576 if GB63_district_name == "MERTON AND MORDEN"
replace GB63_margin = 38.99738 if GB63_district_name == "MIDDLESBROUGH,EAST"
replace GB63_margin = 2.574249 if GB63_district_name == "MIDDLESBROUGH,WEST"
replace GB63_margin = 3.842956 if GB63_district_name == "MIDDLETON AND PRESTWICK"
replace GB63_margin = 22.51186 if GB63_district_name == "MIDLOTHIAN"
replace GB63_margin = 7.268538 if GB63_district_name == "MITCHAM"
replace GB63_margin = 6.837261 if GB63_district_name == "MONMOUTH"
replace GB63_margin = 15.64902 if GB63_district_name == "MONTGOMERY"
replace GB63_margin = 23.59775 if GB63_district_name == "MORAY AND NAIRN"
replace GB63_margin = 26.89814 if GB63_district_name == "MORECAMBE AND LONSDALE"
replace GB63_margin = 45.40494 if GB63_district_name == "MORPETH"
replace GB63_margin = 21.42551 if GB63_district_name == "MOTHERWELL"
replace GB63_margin = 15.97548 if GB63_district_name == "NANTWICH"
replace GB63_margin = 52.87795 if GB63_district_name == "NEATH"
replace GB63_margin = 7.001006 if GB63_district_name == "NELSON AND COLNE"
replace GB63_margin = 8.715158 if GB63_district_name == "NEWARK"
replace GB63_margin = 10.89577 if GB63_district_name == "NEWBURY"
replace GB63_margin = 15.9812 if GB63_district_name == "NEWCASTLE UNDER LYME"
replace GB63_margin = 43.66178 if GB63_district_name == "NEWCASTLE-UPON-TYNE CENTRAL"
replace GB63_margin = 4.033762 if GB63_district_name == "NEWCASTLE-UPON-TYNE EAST"
replace GB63_margin = 21.82278 if GB63_district_name == "NEWCASTLE-UPON-TYNE NORTH"
replace GB63_margin = 16.65747 if GB63_district_name == "NEWCASTLE-UPONTYNE WEST"
replace GB63_margin = 28.60147 if GB63_district_name == "NEW FOREST"
replace GB63_margin = 14.94848 if GB63_district_name == "NEWPORT"
replace GB63_margin = 25.41517 if GB63_district_name == "NEWTON"
replace GB63_margin = 12.02732 if GB63_district_name == "CENTRAL NORFOLK"
replace GB63_margin = .1370678 if GB63_district_name == "NORTH NORFOLK"
replace GB63_margin = 5.852631 if GB63_district_name == "SOUTH NORFOLK"
replace GB63_margin = .3643365 if GB63_district_name == "SOUTH WEST NORFOLK"
replace GB63_margin = 45.06138 if GB63_district_name == "NORMANTON"
replace GB63_margin = 7.621925 if GB63_district_name == "NORTHAMPTON"
replace GB63_margin = 8.541945 if GB63_district_name == "SOUTH NORTHAMPTONSHIRE"
replace GB63_margin = 30.58857 if GB63_district_name == "NORTH FYLDE"
replace GB63_margin = 12.0137 if GB63_district_name == "NORTHWICH"
replace GB63_margin = 21.83243 if GB63_district_name == "NORWICH,NORTH"
replace GB63_margin = 1.729164 if GB63_district_name == "NORWICH,SOUTH"
replace GB63_margin = 5.326392 if GB63_district_name == "NOTTINGHAM,CENTRAL"
replace GB63_margin = 17.32763 if GB63_district_name == "NOTTINGHAM,NORTH"
replace GB63_margin = 4.963959 if GB63_district_name == "NOTTINGHAM,SOUTH"
replace GB63_margin = 5.230727 if GB63_district_name == "NOTTINGHAM,WEST"
replace GB63_margin = 23.70313 if GB63_district_name == "NUNEATON"
replace GB63_margin = 51.02137 if GB63_district_name == "OGMORE"
replace GB63_margin = 1.682847 if GB63_district_name == "OLDBURY AND HALESOWEN"
replace GB63_margin = 9.860286 if GB63_district_name == "OLDHAM,EAST"
replace GB63_margin = 17.51769 if GB63_district_name == "OLDHAM,WEST"
replace GB63_margin = 42.61057 if GB63_district_name == "ORKNEY AND ZETLAND"
replace GB63_margin = 25.1541 if GB63_district_name == "ORMSKIRK"
replace GB63_margin = 6.56256 if GB63_district_name == "ORPINGTON"
replace GB63_margin = 17.6779 if GB63_district_name == "OSWESTRY"
replace GB63_margin = 2.759113 if GB63_district_name == "OXFORD"
replace GB63_margin = 15.71734 if GB63_district_name == "PADDINGTON,NORTH"
replace GB63_margin = 16.53612 if GB63_district_name == "PADDINGTON,SOUTH"
replace GB63_margin = 19.06188 if GB63_district_name == "PAISLEY"
replace GB63_margin = 16.94761 if GB63_district_name == "PEMBROKE"
replace GB63_margin = 32.56327 if GB63_district_name == "PENISTONE"
replace GB63_margin = 26.19216 if GB63_district_name == "PENRITH AND THE BORDERS"
replace GB63_margin = 33.2542 if GB63_district_name == "PERTH AND EAST PERTHSHIRE"
replace GB63_margin = 5.066403 if GB63_district_name == "PETERBOROUGH"
replace GB63_margin = 28.05994 if GB63_district_name == "PETERSFIELD"
replace GB63_margin = 8.083646 if GB63_district_name == "PLYMOUTH,DEVONPORT"
replace GB63_margin = .7267313 if GB63_district_name == "PLYMOUTH,SUTTON"
replace GB63_margin = 52.32199 if GB63_district_name == "PONTEFRACT"
replace GB63_margin = 52.6988 if GB63_district_name == "PONTYPOOL"
replace GB63_margin = 42.69907 if GB63_district_name == "PONTYPRIDD"
replace GB63_margin = 15.67611 if GB63_district_name == "POOLE"
replace GB63_margin = 55.42862 if GB63_district_name == "POPLAR"
replace GB63_margin = 14.30981 if GB63_district_name == "PORTSMOUTH,LANGSTON"
replace GB63_margin = 27.37719 if GB63_district_name == "PORTSMOUTH,SOUTH"
replace GB63_margin = 1.342264 if GB63_district_name == "PORTSMOUTH,WEST"
replace GB63_margin = .0340483 if GB63_district_name == "PRESTON,NORTH"
replace GB63_margin = .9072896 if GB63_district_name == "PRESTON,SOUTH"
replace GB63_margin = 11.80919 if GB63_district_name == "PUDSEY"
replace GB63_margin = .0211064 if GB63_district_name == "READING"
replace GB63_margin = 18.61826 if GB63_district_name == "REIGATE"
replace GB63_margin = 21.40027 if GB63_district_name == "EAST RENFREWSHIRE"
replace GB63_margin = 2.391315 if GB63_district_name == "WEST RENFREWSHIRE"
replace GB63_margin = 59.45355 if GB63_district_name == "RHONDDA,EAST"
replace GB63_margin = 68.71628 if GB63_district_name == "RHONDDA,WEST"
replace GB63_margin = 18.49918 if GB63_district_name == "RICHMOND (SURREY)"
replace GB63_margin = 38.19006 if GB63_district_name == "RICHMOND (YORKSHIRE)"
replace GB63_margin = 31.75768 if GB63_district_name == "RIPON"
replace GB63_margin = 17.74696 if GB63_district_name == "ROCHDALE"
replace GB63_margin = 1.974313 if GB63_district_name == "ROCHESTER AND CHATHAM"
replace GB63_margin = 10.67159 if GB63_district_name == "ROMFORD"
replace GB63_margin = 8.17738 if GB63_district_name == "ROSS AND CROMARTY"
replace GB63_margin = 7.931618 if GB63_district_name == "ROSSENDALE"
replace GB63_margin = 32.96539 if GB63_district_name == "ROTHERHAM"
replace GB63_margin = 48.84484 if GB63_district_name == "ROTHER VALLEY"
replace GB63_margin = 20.42847 if GB63_district_name == "ROWLEY REGIS AND TIPTON"
replace GB63_margin = 3.933588 if GB63_district_name == "ROXBURGH, SELKIRK AND PEEBLES"
replace GB63_margin = 3.966744 if GB63_district_name == "RUGBY"
replace GB63_margin = 24.15802 if GB63_district_name == "RUISLIP-NORTHWOOD"
replace GB63_margin = 16.93073 if GB63_district_name == "RUNCORN"
replace GB63_margin = 5.273868 if GB63_district_name == "RUSHCLIFFE"
replace GB63_margin = 9.743675 if GB63_district_name == "RUTHERGLEN"
replace GB63_margin = 11.06497 if GB63_district_name == "RUTLAND AND STAMFORD"
replace GB63_margin = 37.29514 if GB63_district_name == "RYE"
replace GB63_margin = 11.85293 if GB63_district_name == "SAFFRON WALDON"
replace GB63_margin = 11.72823 if GB63_district_name == "ST.ALBANS"
replace GB63_margin = 33.96778 if GB63_district_name == "ST.HELENS"
replace GB63_margin = 13.35215 if GB63_district_name == "ST.IVES"
replace GB63_margin = 27.29304 if GB63_district_name == "ST.MARYLEBONE"
replace GB63_margin = 25.47456 if GB63_district_name == "ST.PANCRAS NORTH"
replace GB63_margin = 22.22533 if GB63_district_name == "SALFORD,EAST"
replace GB63_margin = 10.94867 if GB63_district_name == "SALFORD,WEST"
replace GB63_margin = 13.86015 if GB63_district_name == "SALISBURY"
replace GB63_margin = 16.07931 if GB63_district_name == "SCARBOROUGH AND WHITBY"
replace GB63_margin = 21.31795 if GB63_district_name == "SEDGEFIELD"
replace GB63_margin = 24.89295 if GB63_district_name == "SEVENOAKS"
replace GB63_margin = 44.28943 if GB63_district_name == "SHEFFIELD,ATTERCLIFFE"
replace GB63_margin = 44.91666 if GB63_district_name == "SHEFFIELD,BRIGHTSIDE"
replace GB63_margin = 27.9975 if GB63_district_name == "SHEFFIELD,HALLAM"
replace GB63_margin = 2.965025 if GB63_district_name == "SHEFFIELD,HEELEY"
replace GB63_margin = 24.87482 if GB63_district_name == "SHEFFIELD,HILLSBOROUGH"
replace GB63_margin = 51.16831 if GB63_district_name == "SHEFFIELD,PARK"
replace GB63_margin = 8.874981 if GB63_district_name == "SHIPLEY"
replace GB63_margin = 36.79702 if GB63_district_name == "SHOREDITCH AND FINSBURY"
replace GB63_margin = 15.27571 if GB63_district_name == "SHREWSBURY"
replace GB63_margin = 17.04596 if GB63_district_name == "SKIPTON"
replace GB63_margin = 5.062786 if GB63_district_name == "SMETHWICK"
replace GB63_margin = 37.4598 if GB63_district_name == "SOLIHULL"
replace GB63_margin = 6.534029 if GB63_district_name == "NORTH SOMERSET"
replace GB63_margin = 5.045884 if GB63_district_name == "SOUTHALL"
replace GB63_margin = 18.15948 if GB63_district_name == "SOUTHAMPTON,ITCHEN"
replace GB63_margin = .6816579 if GB63_district_name == "SOUTHAMPTON,TEST"
replace GB63_margin = 7.92627 if GB63_district_name == "SOUTHEND EAST"
replace GB63_margin = 21.78482 if GB63_district_name == "SOUTHEND WEST"
replace GB63_margin = 36.46489 if GB63_district_name == "SOUTH FYLDE"
replace GB63_margin = 31.13096 if GB63_district_name == "SOUTHGATE"
replace GB63_margin = 26.7799 if GB63_district_name == "SOUTHPORT"
replace GB63_margin = 24.77958 if GB63_district_name == "SOUTH SHIELDS"
replace GB63_margin = 42.5402 if GB63_district_name == "SOUTHWARK"
replace GB63_margin = 8.446812 if GB63_district_name == "SOWERBY"
replace GB63_margin = 11.49136 if GB63_district_name == "SPELTHORNE"
replace GB63_margin = 13.42354 if GB63_district_name == "STAFFORD AND STONE"
replace GB63_margin = 7.983125 if GB63_district_name == "STALYBRIDGE AND HYDE"
replace GB63_margin = 50.69222 if GB63_district_name == "STEPNEY"
replace GB63_margin = 14.76125 if GB63_district_name == "STIRLING AND FALKIRK"
replace GB63_margin = 26.55324 if GB63_district_name == "CLACKMANNAN AND EAST STIRLINGSHIRE"
replace GB63_margin = 17.5385 if GB63_district_name == "WEST STIRLINGSHIRE"
replace GB63_margin = 4.465208 if GB63_district_name == "STOCKPORT NORTH"
replace GB63_margin = 8.081427 if GB63_district_name == "STOCKPORT SOUTH"
replace GB63_margin = 15.11994 if GB63_district_name == "STOCKTON-ON-TEES"
replace GB63_margin = 28.81615 if GB63_district_name == "STOKE NEWINGTON AND HACKNEY NORTH"
replace GB63_margin = 28.31142 if GB63_district_name == "STOKE ON TRENT,CENTRAL"
replace GB63_margin = 29.47499 if GB63_district_name == "STOKE ON TRENT,NORTH"
replace GB63_margin = 21.12128 if GB63_district_name == "STOKE ON TRENT,SOUTH"
replace GB63_margin = 24.52013 if GB63_district_name == "STRATFORD"
replace GB63_margin = 3.500218 if GB63_district_name == "STRETFORD"
replace GB63_margin = 5.892229 if GB63_district_name == "STROUD"
replace GB63_margin = 16.46229 if GB63_district_name == "SUDBURY AND WOODBRIDGE"
replace GB63_margin = 13.43831 if GB63_district_name == "SUNDERLAND NORTH"
replace GB63_margin = 3.11741 if GB63_district_name == "SUNDERLAND SOUTH"
replace GB63_margin = 21.16681 if GB63_district_name == "SURBITON"
replace GB63_margin = 27.7313 if GB63_district_name == "EAST SURREY"
replace GB63_margin = 25.51729 if GB63_district_name == "SUTTON AND CHEAM"
replace GB63_margin = 29.39948 if GB63_district_name == "SUTTON COLDFIELD"
replace GB63_margin = 54.44085 if GB63_district_name == "SWANSEA,EAST"
replace GB63_margin = 5.485408 if GB63_district_name == "SWANSEA,WEST"
replace GB63_margin = 22.27241 if GB63_district_name == "SWINDON"
replace GB63_margin = 10.33747 if GB63_district_name == "TAUNTON"
replace GB63_margin = 13.2314 if GB63_district_name == "TAVISTOCK"
replace GB63_margin = 32.77291 if GB63_district_name == "THIRSK AND MALTON"
replace GB63_margin = 29.68482 if GB63_district_name == "THURROCK"
replace GB63_margin = 12.83329 if GB63_district_name == "TIVERTON"
replace GB63_margin = 15.50751 if GB63_district_name == "TONBRIDGE"
replace GB63_margin = 27.55215 if GB63_district_name == "TORQUAY"
replace GB63_margin = 5.500439 if GB63_district_name == "TORRINGTON"
replace GB63_margin = 20.81101 if GB63_district_name == "TOTNES"
replace GB63_margin = 22.16192 if GB63_district_name == "TOTTENHAM"
replace GB63_margin = 9.094334 if GB63_district_name == "TRURO"
replace GB63_margin = 21.76419 if GB63_district_name == "TWICKENHAM"
replace GB63_margin = 12.57343 if GB63_district_name == "TYNEMOUTH"
replace GB63_margin = 11.99243 if GB63_district_name == "ULSTER MID"
replace GB63_margin = 1.388505 if GB63_district_name == "UXBRIDGE"
replace GB63_margin = 25.14067 if GB63_district_name == "WAKEFIELD"
replace GB63_margin = 11.36064 if GB63_district_name == "WALLASEY"
replace GB63_margin = 20.84566 if GB63_district_name == "WALLSEND"
replace GB63_margin = 22.76014 if GB63_district_name == "WALSALL,NORTH"
replace GB63_margin = 14.12469 if GB63_district_name == "WALSALL,SOUTH"
replace GB63_margin = 1.199623 if GB63_district_name == "WALTHAMSTOW,EAST"
replace GB63_margin = 29.75958 if GB63_district_name == "WALTHAMSTOW,WEST"
replace GB63_margin = 5.186434 if GB63_district_name == "WANDSWORTH,CENTRAL"
replace GB63_margin = 1.454888 if GB63_district_name == "WANDSWORTH,CLAPHAM"
replace GB63_margin = 2.388916 if GB63_district_name == "WANDSWORTH,PUTNEY"
replace GB63_margin = 19.65853 if GB63_district_name == "WANDSWORTH,STREATHAM"
replace GB63_margin = 30.16837 if GB63_district_name == "WANSTEAD AND WOODFORD"
replace GB63_margin = 25.72914 if GB63_district_name == "WARRINGTON"
replace GB63_margin = 19.6853 if GB63_district_name == "WARWICK AND LEAMINGTON"
replace GB63_margin = 3.306154 if GB63_district_name == "WATFORD"
replace GB63_margin = 7.368951 if GB63_district_name == "WEDNESBURY"
replace GB63_margin = .1013718 if GB63_district_name == "WELLINGBOROUGH"
replace GB63_margin = 11.66162 if GB63_district_name == "WELLS"
replace GB63_margin = 17.16096 if GB63_district_name == "WEMBLEY NORTH"
replace GB63_margin = 12.52905 if GB63_district_name == "WEMBLEY SOUTH"
replace GB63_margin = 10.28217 if GB63_district_name == "WEST BROMWICH"
replace GB63_margin = 10.60111 if GB63_district_name == "WESTBURY"
replace GB63_margin = 24.26345 if GB63_district_name == "WESTERN ISLES"
replace GB63_margin = 40.54794 if GB63_district_name == "WEST HAM NORTH"
replace GB63_margin = 60.99754 if GB63_district_name == "WEST HAM SOUTH"
replace GB63_margin = 23.49807 if GB63_district_name == "WESTHOUGHTON"
replace GB63_margin = 19.87124 if GB63_district_name == "WEST LOTHIAN"
replace GB63_margin = 21.77513 if GB63_district_name == "WESTMORLAND"
replace GB63_margin = 29.11341 if GB63_district_name == "WESTON SUPER MARE"
replace GB63_margin = 20.22115 if GB63_district_name == "WHITEHAVEN"
replace GB63_margin = 13.65475 if GB63_district_name == "WIDNES"
replace GB63_margin = 41.16678 if GB63_district_name == "WIGAN"
replace GB63_margin = 4.54985 if GB63_district_name == "WILLESDEN,EAST"
replace GB63_margin = 28.72237 if GB63_district_name == "WILLESDEN,WEST"
replace GB63_margin = 23.03001 if GB63_district_name == "WIMBLEDON"
replace GB63_margin = 22.23566 if GB63_district_name == "WINCHESTER"
replace GB63_margin = 23.17185 if GB63_district_name == "WINDSOR"
replace GB63_margin = 22.83669 if GB63_district_name == "WIRRAL"
replace GB63_margin = 22.12012 if GB63_district_name == "WOKING"
replace GB63_margin = 22.71689 if GB63_district_name == "WOKINGHAM"
replace GB63_margin = 12.04034 if GB63_district_name == "WOLVERHAMPTON NORTH EAST"
replace GB63_margin = 26.04032 if GB63_district_name == "WOLVERHAMPTON SOUTH WEST"
replace GB63_margin = 13.28897 if GB63_district_name == "WOOD GREEN"
replace GB63_margin = 36.52075 if GB63_district_name == "WOOLWICH,EAST"
replace GB63_margin = 4.032057 if GB63_district_name == "WOOLWICH,WEST"
replace GB63_margin = 15.2767 if GB63_district_name == "WORCESTER"
replace GB63_margin = 26.38422 if GB63_district_name == "SOUTH WORCESTERSHIRE"
replace GB63_margin = 24.23394 if GB63_district_name == "WORKINGTON"
replace GB63_margin = 38.14825 if GB63_district_name == "WORTHING"
replace GB63_margin = 6.013608 if GB63_district_name == "THE WREKIN"
replace GB63_margin = 25.2677 if GB63_district_name == "WREXHAM"
replace GB63_margin = 15.13257 if GB63_district_name == "WYCOMBE"
replace GB63_margin = 4.447672 if GB63_district_name == "YARMOUTH"
replace GB63_margin = 9.216554 if GB63_district_name == "YEOVIL"
replace GB63_margin = 1.836543 if GB63_district_name == "YORK"

* Effective number of electoral parties by district

gen GB63_enep = .

replace GB63_enep = 1.769782 if GB63_district_name == "ABERAVON"
replace GB63_enep = 1.592866 if GB63_district_name == "ABERDARE"
replace GB63_enep = 1.749693 if GB63_district_name == "ABERDEEN NORTH"
replace GB63_enep = 2.164685 if GB63_district_name == "ABERDEEN SOUTH"
replace GB63_enep = 2.952785 if GB63_district_name == "EAST ABERDEENSHIRE"
replace GB63_enep = 2.722392 if GB63_district_name == "WEST ABERDEENSHIRE"
replace GB63_enep = 1.319679 if GB63_district_name == "ABERTILLERY"
replace GB63_enep = 2.579943 if GB63_district_name == "ABINGDON"
replace GB63_enep = 2.501304 if GB63_district_name == "ACCRINGTON"
replace GB63_enep = 2.346503 if GB63_district_name == "ACTON"
replace GB63_enep = 2.574129 if GB63_district_name == "ALDERSHOT"
replace GB63_enep = 2.769884 if GB63_district_name == "ALTRINCHAM AND SALE"
replace GB63_enep = 2.938233 if GB63_district_name == "ANGLESEY"
replace GB63_enep = 2.584788 if GB63_district_name == "NORTH ANGUS AND MEARNS"
replace GB63_enep = 2.344574 if GB63_district_name == "SOUTH ANGUS"
replace GB63_enep = 1.216561 if GB63_district_name == "ANTRIM NORTH"
replace GB63_enep = 1.812548 if GB63_district_name == "ANTRIM SOUTH"
replace GB63_enep = 2.75015 if GB63_district_name == "ARGYLL"
replace GB63_enep = 2.041542 if GB63_district_name == "ARMAGH"
replace GB63_enep = 2.364623 if GB63_district_name == "ARUNDEL AND SHOREHAM"
replace GB63_enep = 1.654631 if GB63_district_name == "ASHFIELD"
replace GB63_enep = 2.675108 if GB63_district_name == "ASHFORD"
replace GB63_enep = 1.983628 if GB63_district_name == "ASHTON UNDER LYNE"
replace GB63_enep = 2.707988 if GB63_district_name == "AYLESBURY"
replace GB63_enep = 1.996082 if GB63_district_name == "AYR"
replace GB63_enep = 1.967372 if GB63_district_name == "CENTRAL AYRSHIRE"
replace GB63_enep = 2.510927 if GB63_district_name == "BUTE AND NORTH AYRSHIRE"
replace GB63_enep = 1.799787 if GB63_district_name == "SOUTH AYRSHIRE"
replace GB63_enep = 2.577657 if GB63_district_name == "BANBURY"
replace GB63_enep = 2.742334 if GB63_district_name == "BANFF"
replace GB63_enep = 2.150537 if GB63_district_name == "BARKING"
replace GB63_enep = 1.939681 if GB63_district_name == "BARKSTON ASH"
replace GB63_enep = 2.730341 if GB63_district_name == "BARNET"
replace GB63_enep = 1.994244 if GB63_district_name == "BARNSLEY"
replace GB63_enep = 2.34086 if GB63_district_name == "BARONS COURT"
replace GB63_enep = 1.979187 if GB63_district_name == "BARROW IN FURNESS"
replace GB63_enep = 1.987094 if GB63_district_name == "BARRY"
replace GB63_enep = 2.575507 if GB63_district_name == "BASINGSTOKE"
replace GB63_enep = 1.936875 if GB63_district_name == "BASSETLAW"
replace GB63_enep = 2.768349 if GB63_district_name == "BATH"
replace GB63_enep = 2.512821 if GB63_district_name == "BATLEY AND MORLEY"
replace GB63_enep = 2.095404 if GB63_district_name == "BATTERSEA,NORTH"
replace GB63_enep = 2.501055 if GB63_district_name == "BATTERSEA,SOUTH"
replace GB63_enep = 2.527449 if GB63_district_name == "BEBINGTON"
replace GB63_enep = 2.536493 if GB63_district_name == "BECKENHAM"
replace GB63_enep = 2.637371 if GB63_district_name == "BEDFORD"
replace GB63_enep = 2.697484 if GB63_district_name == "MID-BEDFORDSHIRE"
replace GB63_enep = 1.999949 if GB63_district_name == "SOUTH BEDFORDSHIRE"
replace GB63_enep = 1.380084 if GB63_district_name == "BEDWELLTY"
replace GB63_enep = 2.068085 if GB63_district_name == "BELFAST EAST"
replace GB63_enep = 2.081693 if GB63_district_name == "BELFAST NORTH"
replace GB63_enep = 1.852391 if GB63_district_name == "BELFAST SOUTH"
replace GB63_enep = 2.874659 if GB63_district_name == "BELFAST WEST"
replace GB63_enep = 2.581509 if GB63_district_name == "BELPER"
replace GB63_enep = 1.489219 if GB63_district_name == "BERMONDSEY"
replace GB63_enep = 1.999572 if GB63_district_name == "BERWICK AND EAST LOTHIAN"
replace GB63_enep = 2.668332 if GB63_district_name == "BERWICK UPON TWEED"
replace GB63_enep = 2.081228 if GB63_district_name == "BETHNAL GREEN"
replace GB63_enep = 2.567003 if GB63_district_name == "BEXLEY"
replace GB63_enep = 2.544237 if GB63_district_name == "BILLERICAY"
replace GB63_enep = 1.99218 if GB63_district_name == "BILSTON"
replace GB63_enep = 1.962023 if GB63_district_name == "BIRKENHEAD"
replace GB63_enep = 1.999492 if GB63_district_name == "BIRMINGHAM,ALL SAINTS"
replace GB63_enep = 1.982336 if GB63_district_name == "BIRMINGHAM,ASTON"
replace GB63_enep = 1.784942 if GB63_district_name == "BIRMINGHAM,EDGBASTON"
replace GB63_enep = 2.489725 if GB63_district_name == "BIRMINGHAM,HALL GREEN"
replace GB63_enep = 2.705527 if GB63_district_name == "BIRMINGHAM,HANDSWORTH"
replace GB63_enep = 1.869628 if GB63_district_name == "BIRMINGHAM,LADYWOOD"
replace GB63_enep = 2.490566 if GB63_district_name == "BIRMINGHAM,NORTHFIED"
replace GB63_enep = 1.999841 if GB63_district_name == "BIRMINGHAM,PERRY BARR"
replace GB63_enep = 1.962456 if GB63_district_name == "BIRMINGHAM,SELLY OAK"
replace GB63_enep = 2.00929 if GB63_district_name == "BIRMINGHAM,SMALL HEATH"
replace GB63_enep = 1.996799 if GB63_district_name == "BIRMINGHAM,SPARKBROOK"
replace GB63_enep = 1.963383 if GB63_district_name == "BIRMINGHAM,STECHFORD"
replace GB63_enep = 1.999972 if GB63_district_name == "BIRMINGHAM,YARDLEY"
replace GB63_enep = 1.894243 if GB63_district_name == "BISHOP AUCKLAND"
replace GB63_enep = 1.956436 if GB63_district_name == "BLACKBURN"
replace GB63_enep = 2.760763 if GB63_district_name == "BLACKPOOL,NORTH"
replace GB63_enep = 1.946093 if GB63_district_name == "BLACKPOOL,SOUTH"
replace GB63_enep = 1.810601 if GB63_district_name == "BLAYDON"
replace GB63_enep = 1.575968 if GB63_district_name == "BLYTH"
replace GB63_enep = 2.438198 if GB63_district_name == "BODMIN"
replace GB63_enep = 1.487606 if GB63_district_name == "BOLSOVER"
replace GB63_enep = 2.570254 if GB63_district_name == "BOLTON,EAST"
replace GB63_enep = 2.888471 if GB63_district_name == "BOLTON,WEST"
replace GB63_enep = 1.891047 if GB63_district_name == "BOOTLE"
replace GB63_enep = 2.711621 if GB63_district_name == "BOSWORTH"
replace GB63_enep = 1.91709 if GB63_district_name == "BOTHWELL"
replace GB63_enep = 2.420104 if GB63_district_name == "BOURNEMOUTH EAST AND CHRISTCHURCH"
replace GB63_enep = 2.643944 if GB63_district_name == "BOURNEMOUTH WEST"
replace GB63_enep = 1.893863 if GB63_district_name == "BRADFORD,EAST"
replace GB63_enep = 2.645115 if GB63_district_name == "BRADFORD,NORTH"
replace GB63_enep = 2.618969 if GB63_district_name == "BRADFORD,SOUTH"
replace GB63_enep = 1.987124 if GB63_district_name == "BRADFORD,WEST"
replace GB63_enep = 2.113502 if GB63_district_name == "BRECON AND RADNOR"
replace GB63_enep = 2.396222 if GB63_district_name == "BRENTFORD AND CHISWICK"
replace GB63_enep = 2.950243 if GB63_district_name == "BRIDGWATER"
replace GB63_enep = 2.415753 if GB63_district_name == "BRIDLINGTON"
replace GB63_enep = 2.104406 if GB63_district_name == "BRIERLEY HILL"
replace GB63_enep = 2.44842 if GB63_district_name == "BRIGG"
replace GB63_enep = 2.55347 if GB63_district_name == "BRIGHOUSE AND SPENBOROUGH"
replace GB63_enep = 2 if GB63_district_name == "BRIGHTON,KEMPTOWN"
replace GB63_enep = 2.520019 if GB63_district_name == "BRIGHTON,PAVILION"
replace GB63_enep = 2.206568 if GB63_district_name == "BRISTOL,CENTRAL"
replace GB63_enep = 2.369402 if GB63_district_name == "BRISTOL,NORTH EAST"
replace GB63_enep = 2.488319 if GB63_district_name == "BRISTOL,NORTH WEST"
replace GB63_enep = 1.864393 if GB63_district_name == "BRISTOL,SOUTH"
replace GB63_enep = 1.920689 if GB63_district_name == "BRISTOL,SOUTH EAST"
replace GB63_enep = 2.39843 if GB63_district_name == "BRISTOL,WEST"
replace GB63_enep = 2.62615 if GB63_district_name == "BROMLEY"
replace GB63_enep = 2.524304 if GB63_district_name == "BROMSGROVE"
replace GB63_enep = 2.451357 if GB63_district_name == "BUCKINGHAM"
replace GB63_enep = 2.561795 if GB63_district_name == "SOUTH BUCKINGHAMSHIRE"
replace GB63_enep = 2.36017 if GB63_district_name == "BURNLEY"
replace GB63_enep = 1.991617 if GB63_district_name == "BURTON"
replace GB63_enep = 2.567489 if GB63_district_name == "BURY AND RADCLIFFE"
replace GB63_enep = 2.366628 if GB63_district_name == "BURY ST.EDMUNDS"
replace GB63_enep = 2.49891 if GB63_district_name == "CAERNARVON"
replace GB63_enep = 1.782377 if GB63_district_name == "CAERPHILLY"
replace GB63_enep = 3.548491 if GB63_district_name == "CAITHNESS AND SUTHERLAND"
replace GB63_enep = 2.501192 if GB63_district_name == "CAMBERWELL,DULWICH"
replace GB63_enep = 1.851184 if GB63_district_name == "CAMBERWELL,PECKHAM"
replace GB63_enep = 2.645746 if GB63_district_name == "CAMBRIDGE"
replace GB63_enep = 2.643663 if GB63_district_name == "CAMBRIDGESHIRE"
replace GB63_enep = 1.955648 if GB63_district_name == "CANNOCK"
replace GB63_enep = 2.55507 if GB63_district_name == "CANTERBURY"
replace GB63_enep = 2.748125 if GB63_district_name == "CARDIFF,NORTH"
replace GB63_enep = 1.956226 if GB63_district_name == "CARDIFF,SOUTH EAST"
replace GB63_enep = 1.93494 if GB63_district_name == "CARDIFF,WEST"
replace GB63_enep = 3.398014 if GB63_district_name == "CARDIGAN"
replace GB63_enep = 2.598186 if GB63_district_name == "CARLISLE"
replace GB63_enep = 2.633758 if GB63_district_name == "CARLTON"
replace GB63_enep = 2.978947 if GB63_district_name == "CARMARTHEN"
replace GB63_enep = 2.67521 if GB63_district_name == "CARSHALTON"
replace GB63_enep = 2.675672 if GB63_district_name == "CHEADLE"
replace GB63_enep = 2.599754 if GB63_district_name == "CHELMSFORD"
replace GB63_enep = 2.17562 if GB63_district_name == "CHELSEA"
replace GB63_enep = 2.65837 if GB63_district_name == "CHELTENHAM"
replace GB63_enep = 2.644904 if GB63_district_name == "CHERTSEY"
replace GB63_enep = 2.57868 if GB63_district_name == "CITY OF CHESTER"
replace GB63_enep = 2.362164 if GB63_district_name == "CHESTERFIELD"
replace GB63_enep = 1.594993 if GB63_district_name == "CHESTER-LE-STREET"
replace GB63_enep = 2.360295 if GB63_district_name == "CHICHESTER"
replace GB63_enep = 2.538823 if GB63_district_name == "CHIGWELL"
replace GB63_enep = 2.846081 if GB63_district_name == "CHIPPENHAM"
replace GB63_enep = 2.584088 if GB63_district_name == "CHISLEHURST"
replace GB63_enep = 2.412197 if GB63_district_name == "CHORLEY"
replace GB63_enep = 2.525591 if GB63_district_name == "CIRENCESTER AND TEWKESBURY"
replace GB63_enep = 2.687203 if GB63_district_name == "CLEVELAND"
replace GB63_enep = 2.515501 if GB63_district_name == "CLITHEROE"
replace GB63_enep = 1.889183 if GB63_district_name == "COATBRIDGE AND AIRDRIE"
replace GB63_enep = 2.586943 if GB63_district_name == "COLCHESTER"
replace GB63_enep = 2.655092 if GB63_district_name == "COLNE VALLEY"
replace GB63_enep = 1.768275 if GB63_district_name == "CONSETT"
replace GB63_enep = 2.313825 if GB63_district_name == "CONWAY"
replace GB63_enep = 2.437821 if GB63_district_name == "NORTH CORNWALL"
replace GB63_enep = 1.980597 if GB63_district_name == "COVENTRY,EAST"
replace GB63_enep = 2.087616 if GB63_district_name == "COVENTRY,NORTH"
replace GB63_enep = 1.997908 if GB63_district_name == "COVENTRY,SOUTH"
replace GB63_enep = 1.959584 if GB63_district_name == "CREWE"
replace GB63_enep = 2.657079 if GB63_district_name == "CROSBY"
replace GB63_enep = 2.59385 if GB63_district_name == "CROYDON,NORTH EAST"
replace GB63_enep = 2.699296 if GB63_district_name == "CROYDON,NORTH WEST"
replace GB63_enep = 1.99398 if GB63_district_name == "CROYDON,SOUTH"
replace GB63_enep = 2.100127 if GB63_district_name == "DAGENHAM"
replace GB63_enep = 2.549718 if GB63_district_name == "DARLINGTON"
replace GB63_enep = 2.595831 if GB63_district_name == "DARTFORD"
replace GB63_enep = 2.888782 if GB63_district_name == "DARWEN"
replace GB63_enep = 1.450526 if GB63_district_name == "DEARNE VALLEY"
replace GB63_enep = 3.211791 if GB63_district_name == "DENBIGH"
replace GB63_enep = 2.075432 if GB63_district_name == "DEPTFORD"
replace GB63_enep = 2.408945 if GB63_district_name == "DERBY NORTH"
replace GB63_enep = 1.95323 if GB63_district_name == "DERBY SOUTH"
replace GB63_enep = 1.850885 if GB63_district_name == "NORTH EAST DERBYSHIRE"
replace GB63_enep = 1.99955 if GB63_district_name == "SOUTH EAST DERBYSHIRE"
replace GB63_enep = 2.838271 if GB63_district_name == "WEST DERBYSHIRE"
replace GB63_enep = 2.588718 if GB63_district_name == "DEVIZES"
replace GB63_enep = 2.443327 if GB63_district_name == "NORTH DEVON"
replace GB63_enep = 2.623108 if GB63_district_name == "DEWSBURY"
replace GB63_enep = 2.100478 if GB63_district_name == "DONCASTER"
replace GB63_enep = 1.678129 if GB63_district_name == "DON VALLEY"
replace GB63_enep = 2.479814 if GB63_district_name == "DORKING"
replace GB63_enep = 2.563623 if GB63_district_name == "NORTH DORSET"
replace GB63_enep = 2.590139 if GB63_district_name == "SOUTH DORSET"
replace GB63_enep = 2.699885 if GB63_district_name == "WEST DORSET"
replace GB63_enep = 2.445469 if GB63_district_name == "DOVER"
replace GB63_enep = 1.722732 if GB63_district_name == "DOWN NORTH"
replace GB63_enep = 2.441785 if GB63_district_name == "DOWN SOUTH"
replace GB63_enep = 2.392339 if GB63_district_name == "DUDLEY"
replace GB63_enep = 2.470443 if GB63_district_name == "DUMFRIES"
replace GB63_enep = 2.082281 if GB63_district_name == "EAST DUNBARTONSHIRE"
replace GB63_enep = 2.436175 if GB63_district_name == "WEST DUNBARTONSHIRE"
replace GB63_enep = 1.981759 if GB63_district_name == "DUNDEE EAST"
replace GB63_enep = 2.079733 if GB63_district_name == "DUNDEE WEST"
replace GB63_enep = 1.89861 if GB63_district_name == "DUNFERMLINE BURGHS"
replace GB63_enep = 1.762999 if GB63_district_name == "DURHAM"
replace GB63_enep = 1.730129 if GB63_district_name == "NORTH WEST DURHAM"
replace GB63_enep = 2.551666 if GB63_district_name == "EALING,NORTH"
replace GB63_enep = 1.907077 if GB63_district_name == "EALING,SOUTH"
replace GB63_enep = 1.458961 if GB63_district_name == "EASINGTON"
replace GB63_enep = 2.686697 if GB63_district_name == "EASTBOURNE"
replace GB63_enep = 2.531871 if GB63_district_name == "EAST GRINSTEAD"
replace GB63_enep = 1.917702 if GB63_district_name == "EAST HAM,NORTH"
replace GB63_enep = 1.814432 if GB63_district_name == "EAST HAM,SOUTH"
replace GB63_enep = 2.523834 if GB63_district_name == "EASTLEIGH"
replace GB63_enep = 1.377914 if GB63_district_name == "EBBW VALE"
replace GB63_enep = 1.957761 if GB63_district_name == "ECCLES"
replace GB63_enep = 1.987383 if GB63_district_name == "EDINBURGH CENTRAL"
replace GB63_enep = 1.970222 if GB63_district_name == "EDINBURGH EAST"
replace GB63_enep = 1.976107 if GB63_district_name == "EDINBURGH LEITH"
replace GB63_enep = 1.947292 if GB63_district_name == "EDINBURGH NORTH"
replace GB63_enep = 2.534325 if GB63_district_name == "EDINBURGH PENTLANDS"
replace GB63_enep = 2.417933 if GB63_district_name == "EDINBURGH SOUTH"
replace GB63_enep = 2.498349 if GB63_district_name == "EDINBURGH WEST"
replace GB63_enep = 2.45513 if GB63_district_name == "EDMONTON"
replace GB63_enep = 2.537603 if GB63_district_name == "ENFIELD,EAST"
replace GB63_enep = 2.660373 if GB63_district_name == "ENFIELD,WEST"
replace GB63_enep = 2.612706 if GB63_district_name == "EPPING"
replace GB63_enep = 2.471856 if GB63_district_name == "EPSOM"
replace GB63_enep = 2.449193 if GB63_district_name == "ERITH AND CRAYFORD"
replace GB63_enep = 2.427254 if GB63_district_name == "ESHER"
replace GB63_enep = 1.96182 if GB63_district_name == "SOUTH EAST ESSEX"
replace GB63_enep = 2 if GB63_district_name == "ETON AND SLOUGH"
replace GB63_enep = 2.78176 if GB63_district_name == "EXETER"
replace GB63_enep = 2.728355 if GB63_district_name == "EYE"
replace GB63_enep = 2.690755 if GB63_district_name == "FALMOUTH AND CAMBORNE"
replace GB63_enep = 2.600722 if GB63_district_name == "FARNHAM"
replace GB63_enep = 1.890088 if GB63_district_name == "FARNWORTH"
replace GB63_enep = 2.386359 if GB63_district_name == "FAVERSHAM"
replace GB63_enep = 2.530943 if GB63_district_name == "FELTHAM"
replace GB63_enep = 2.469268 if GB63_district_name == "FERMANAGH AND SOUTH TYRONE"
replace GB63_enep = 2.635884 if GB63_district_name == "EAST FIFE"
replace GB63_enep = 1.968551 if GB63_district_name == "WEST FIFE"
replace GB63_enep = 2.764544 if GB63_district_name == "FINCHLEY"
replace GB63_enep = 1.98592 if GB63_district_name == "EAST FLINTSHIRE"
replace GB63_enep = 2.841069 if GB63_district_name == "WEST FLINTSHIRE"
replace GB63_enep = 1.887041 if GB63_district_name == "FOLKESTONE AND HYTHE"
replace GB63_enep = 2.030886 if GB63_district_name == "FULHAM"
replace GB63_enep = 2.720252 if GB63_district_name == "GAINSBOROUGH"
replace GB63_enep = 2.565022 if GB63_district_name == "GALLOWAY"
replace GB63_enep = 1.84471 if GB63_district_name == "GATESHEAD EAST"
replace GB63_enep = 1.748312 if GB63_district_name == "GATESHEAD WEST"
replace GB63_enep = 2.429916 if GB63_district_name == "GILLINGHAM"
replace GB63_enep = 1.685699 if GB63_district_name == "GLASGOW BRIDGETON"
replace GB63_enep = 1.993238 if GB63_district_name == "GLASGOW CATHCART"
replace GB63_enep = 1.720682 if GB63_district_name == "GLASGOW CENTRAL"
replace GB63_enep = 1.945242 if GB63_district_name == "GLASGOW CRAIGTON"
replace GB63_enep = 1.768888 if GB63_district_name == "GLASGOW GORBALS"
replace GB63_enep = 1.930578 if GB63_district_name == "GLASGOW GOVAN"
replace GB63_enep = 1.855222 if GB63_district_name == "GLASGOW HILLHEAD"
replace GB63_enep = 1.986974 if GB63_district_name == "GLASGOW KELVINGROVE"
replace GB63_enep = 1.835089 if GB63_district_name == "GLASGOW MARYHILL"
replace GB63_enep = 2.470607 if GB63_district_name == "GLASGOW POLLOK"
replace GB63_enep = 1.818086 if GB63_district_name == "GLASGOW PROVAN"
replace GB63_enep = 1.897906 if GB63_district_name == "GLASGOW SCOTSTOUN"
replace GB63_enep = 1.771122 if GB63_district_name == "GLASGOW SHETTLESTON"
replace GB63_enep = 2.067203 if GB63_district_name == "GLASGOW SPRINGBURN"
replace GB63_enep = 2.622322 if GB63_district_name == "GLASGOW WOODSIDE"
replace GB63_enep = 2.717846 if GB63_district_name == "GLOUCESTER"
replace GB63_enep = 2.587192 if GB63_district_name == "SOUTH GLOUCESTERSHIRE"
replace GB63_enep = 2.558159 if GB63_district_name == "WEST GLOUCESTERSHIRE"
replace GB63_enep = 1.996582 if GB63_district_name == "GOOLE"
replace GB63_enep = 2.559673 if GB63_district_name == "GOSPORT AND FAREHAM"
replace GB63_enep = 1.788753 if GB63_district_name == "GOWER"
replace GB63_enep = 1.972214 if GB63_district_name == "GRANTHAM"
replace GB63_enep = 2.428455 if GB63_district_name == "GRAVESEND"
replace GB63_enep = 2.490147 if GB63_district_name == "GREENOCK"
replace GB63_enep = 2.335626 if GB63_district_name == "GREENWICH"
replace GB63_enep = 1.985069 if GB63_district_name == "GRIMSBY"
replace GB63_enep = 2.61751 if GB63_district_name == "GUILDFORD"
replace GB63_enep = 1.807351 if GB63_district_name == "HACKNEY CENTRAL"
replace GB63_enep = 2.585351 if GB63_district_name == "HALIFAX"
replace GB63_enep = 2.427422 if GB63_district_name == "HALTEMPRICE"
replace GB63_enep = 1.699071 if GB63_district_name == "HAMILTON"
replace GB63_enep = 1.875045 if GB63_district_name == "HAMMERSMITH NORTH"
replace GB63_enep = 2.688295 if GB63_district_name == "HAMPSTEAD"
replace GB63_enep = 2.655725 if GB63_district_name == "HARBOROUGH"
replace GB63_enep = 2.369255 if GB63_district_name == "HARROGATE"
replace GB63_enep = 2.720056 if GB63_district_name == "HARROW,CENTRAL"
replace GB63_enep = 1.993086 if GB63_district_name == "HARROW,EAST"
replace GB63_enep = 2.515257 if GB63_district_name == "HARROW,WEST"
replace GB63_enep = 1.993148 if GB63_district_name == "THE HARTLEPOOLS"
replace GB63_enep = 2.616539 if GB63_district_name == "HARWICH"
replace GB63_enep = 2.832114 if GB63_district_name == "HASTINGS"
replace GB63_enep = 2.017583 if GB63_district_name == "HAYES AND HARLINGTON"
replace GB63_enep = 2.670607 if GB63_district_name == "HEMEL HEMPSTEAD"
replace GB63_enep = 1.391379 if GB63_district_name == "HEMSWORTH"
replace GB63_enep = 2.574591 if GB63_district_name == "HENDON,NORTH"
replace GB63_enep = 2.707504 if GB63_district_name == "HENDON,SOUTH"
replace GB63_enep = 2.616161 if GB63_district_name == "HENLEY"
replace GB63_enep = 2.795447 if GB63_district_name == "HEREFORD"
replace GB63_enep = 2.548971 if GB63_district_name == "HERTFORD"
replace GB63_enep = 2.599142 if GB63_district_name == "EAST HERTFORDSHIRE"
replace GB63_enep = 2.686913 if GB63_district_name == "SOUTH WEST HERTFORDSHIRE"
replace GB63_enep = 2.600882 if GB63_district_name == "HESTON AND ISLEWORTH"
replace GB63_enep = 2.570634 if GB63_district_name == "HEXHAM"
replace GB63_enep = 2.778272 if GB63_district_name == "HEYWOOD AND ROYTON"
replace GB63_enep = 2.941939 if GB63_district_name == "HIGH PEAK"
replace GB63_enep = 2.51816 if GB63_district_name == "HITCHIN"
replace GB63_enep = 2.012868 if GB63_district_name == "HOLBORN AND ST.PANCRAS"
replace GB63_enep = 1.977282 if GB63_district_name == "HOLLAND WITH BOSTON"
replace GB63_enep = 2.462709 if GB63_district_name == "HONITON"
replace GB63_enep = 2.680969 if GB63_district_name == "HORNCASTLE"
replace GB63_enep = 2.682394 if GB63_district_name == "HORNCHURCH"
replace GB63_enep = 2.627104 if GB63_district_name == "HORNSEY"
replace GB63_enep = 2.72471 if GB63_district_name == "HORSHAM"
replace GB63_enep = 1.604565 if GB63_district_name == "HOUGHTON-LE-SPRING"
replace GB63_enep = 1.761585 if GB63_district_name == "HOVE"
replace GB63_enep = 2.544834 if GB63_district_name == "HOWDEN"
replace GB63_enep = 2.584702 if GB63_district_name == "HUDDERSFIELD,EAST"
replace GB63_enep = 2.991375 if GB63_district_name == "HUDDERSFIELD,WEST"
replace GB63_enep = 2.563438 if GB63_district_name == "HUNTINGDONSHIRE"
replace GB63_enep = 1.889514 if GB63_district_name == "HUYTON"
replace GB63_enep = 2.72053 if GB63_district_name == "ILFORD,NORTH"
replace GB63_enep = 2.764296 if GB63_district_name == "ILFORD,SOUTH"
replace GB63_enep = 2.249349 if GB63_district_name == "ILKESTON"
replace GB63_enep = 1.675814 if GB63_district_name == "INCE"
replace GB63_enep = 2.919541 if GB63_district_name == "INVERNESS"
replace GB63_enep = 2.911528 if GB63_district_name == "IPSWICH"
replace GB63_enep = 1.969243 if GB63_district_name == "THE ISLE OF ELY"
replace GB63_enep = 2.626 if GB63_district_name == "ISLE OF THANET"
replace GB63_enep = 2.449829 if GB63_district_name == "ISLE OF WIGHT"
replace GB63_enep = 2.662437 if GB63_district_name == "ISLINGTON,EAST"
replace GB63_enep = 2.361662 if GB63_district_name == "ISLINGTON,NORTH"
replace GB63_enep = 1.939119 if GB63_district_name == "ISLINGTON,SOUTH WEST"
replace GB63_enep = 1.849957 if GB63_district_name == "JARROW"
replace GB63_enep = 2.778669 if GB63_district_name == "KEIGHLEY"
replace GB63_enep = 2.355675 if GB63_district_name == "KENSINGTON,NORTH"
replace GB63_enep = 1.948388 if GB63_district_name == "KENSINGTON,SOUTH"
replace GB63_enep = 1.978717 if GB63_district_name == "KETTERING"
replace GB63_enep = 2.466101 if GB63_district_name == "KIDDERMINSTER"
replace GB63_enep = 2.12102 if GB63_district_name == "KILMARNOCK"
replace GB63_enep = 1.999988 if GB63_district_name == "KING'S LYNN"
replace GB63_enep = 2.416507 if GB63_district_name == "KINGSTON-UPON-HULL EAST"
replace GB63_enep = 2.635641 if GB63_district_name == "KINGSTON-UPON-HULL NORTH"
replace GB63_enep = 1.962597 if GB63_district_name == "KINGSTON-UPON-HULL WEST"
replace GB63_enep = 2.511074 if GB63_district_name == "KINGSTON UPON THAMES"
replace GB63_enep = 2.002976 if GB63_district_name == "KINROSS AND WEST PERTHSHIRE"
replace GB63_enep = 2.191083 if GB63_district_name == "KIRKCALDY BURGHS"
replace GB63_enep = 2.535252 if GB63_district_name == "KNUTSFORD"
replace GB63_enep = 1.949398 if GB63_district_name == "LAMBETH,BRIXTON"
replace GB63_enep = 2.415158 if GB63_district_name == "LAMBETH,NORWOOD"
replace GB63_enep = 1.85244 if GB63_district_name == "LAMBETH,VAUXHALL"
replace GB63_enep = 1.98157 if GB63_district_name == "LANARK"
replace GB63_enep = 1.913682 if GB63_district_name == "NORTH LANARKSHIRE"
replace GB63_enep = 1.99008 if GB63_district_name == "LANCASTER"
replace GB63_enep = 1.951815 if GB63_district_name == "LEEDS,EAST"
replace GB63_enep = 1.912415 if GB63_district_name == "LEEDS,NORTH EAST"
replace GB63_enep = 2.493657 if GB63_district_name == "LEEDS,NORTH WEST"
replace GB63_enep = 1.936205 if GB63_district_name == "LEEDS,SOUTH"
replace GB63_enep = 1.777875 if GB63_district_name == "LEEDS,SOUTH EAST"
replace GB63_enep = 2.519407 if GB63_district_name == "LEEDS,WEST"
replace GB63_enep = 1.991354 if GB63_district_name == "LEEK"
replace GB63_enep = 2.647373 if GB63_district_name == "LEICESTER,NORTH EAST"
replace GB63_enep = 1.973438 if GB63_district_name == "LEICESTER,NORTH WEST"
replace GB63_enep = 2.412976 if GB63_district_name == "LEICESTER,SOUTH EAST"
replace GB63_enep = 2.492 if GB63_district_name == "LEICESTER,SOUTH WEST"
replace GB63_enep = 1.781214 if GB63_district_name == "LEIGH"
replace GB63_enep = 2.594853 if GB63_district_name == "LEOMINSTER"
replace GB63_enep = 2.446123 if GB63_district_name == "LEWES"
replace GB63_enep = 2.41195 if GB63_district_name == "LEWISHAM,NORTH"
replace GB63_enep = 2.475711 if GB63_district_name == "LEWISHAM,SOUTH"
replace GB63_enep = 2.513301 if GB63_district_name == "LEWISHAM,WEST"
replace GB63_enep = 2.552944 if GB63_district_name == "LEYTON"
replace GB63_enep = 2.436231 if GB63_district_name == "LICHFIELD AND TAMWORTH"
replace GB63_enep = 2.590576 if GB63_district_name == "LINCOLN"
replace GB63_enep = 1.936695 if GB63_district_name == "LIVERPOOL,EDGE HILL"
replace GB63_enep = 1.721366 if GB63_district_name == "LIVERPOOL,EXCHANGE"
replace GB63_enep = 2.504959 if GB63_district_name == "LIVERPOOL,GARSTON"
replace GB63_enep = 1.975843 if GB63_district_name == "LIVERPOOL,KIRKDALE"
replace GB63_enep = 1.799533 if GB63_district_name == "LIVERPOOL,SCOTLAND"
replace GB63_enep = 1.984377 if GB63_district_name == "LIVERPOOL,TOXTETH"
replace GB63_enep = 1.989498 if GB63_district_name == "LIVERPOOL,WALTON"
replace GB63_enep = 2.659116 if GB63_district_name == "LIVERPOOL,WAVERTREE"
replace GB63_enep = 1.982658 if GB63_district_name == "LIVERPOOL,WEST DERBY"
replace GB63_enep = 2.125491 if GB63_district_name == "LLANELLI"
replace GB63_enep = 2.239976 if GB63_district_name == "CITIES OF LONDON AND WESTMINSTER"
replace GB63_enep = 1.852851 if GB63_district_name == "LONDONDERRY COUNTY"
replace GB63_enep = 2.544505 if GB63_district_name == "LOUGHBOROUGH"
replace GB63_enep = 2.629718 if GB63_district_name == "LOUTH"
replace GB63_enep = 2.392782 if GB63_district_name == "LOWESTOFT"
replace GB63_enep = 2.757545 if GB63_district_name == "LUDLOW"
replace GB63_enep = 2.047686 if GB63_district_name == "LUTON"
replace GB63_enep = 2.632185 if GB63_district_name == "MACCLESFIELD"
replace GB63_enep = 2.724393 if GB63_district_name == "MAIDSTONE"
replace GB63_enep = 2.505552 if GB63_district_name == "MALDON"
replace GB63_enep = 1.904353 if GB63_district_name == "MANCHESTER,ARDWICK"
replace GB63_enep = 2.625089 if GB63_district_name == "MANCHESTER,BLACKLEY"
replace GB63_enep = 1.808269 if GB63_district_name == "MANCHESTER,CHEETHAM"
replace GB63_enep = 1.745553 if GB63_district_name == "MANCHESTER,EXCHANGE"
replace GB63_enep = 1.979339 if GB63_district_name == "MANCHESTER,GORTON"
replace GB63_enep = 2.776924 if GB63_district_name == "MANCHESTER,MOSS SIDE"
replace GB63_enep = 2.074463 if GB63_district_name == "MANCHESTER,OPENSHAW"
replace GB63_enep = 2.821474 if GB63_district_name == "MANCHESTER,WITHINGTON"
replace GB63_enep = 2.507747 if GB63_district_name == "MANCHESTER,WYTHENSHAWE"
replace GB63_enep = 2.113063 if GB63_district_name == "MANSFIELD"
replace GB63_enep = 2.558297 if GB63_district_name == "MELTON"
replace GB63_enep = 1.999923 if GB63_district_name == "MERIDEN"
replace GB63_enep = 3.366423 if GB63_district_name == "MERIONETH"
replace GB63_enep = 1.669271 if GB63_district_name == "MERTHYR TYDFIL"
replace GB63_enep = 2.555989 if GB63_district_name == "MERTON AND MORDEN"
replace GB63_enep = 1.735991 if GB63_district_name == "MIDDLESBROUGH,EAST"
replace GB63_enep = 2.530239 if GB63_district_name == "MIDDLESBROUGH,WEST"
replace GB63_enep = 2.871582 if GB63_district_name == "MIDDLETON AND PRESTWICK"
replace GB63_enep = 1.903532 if GB63_district_name == "MIDLOTHIAN"
replace GB63_enep = 2.572998 if GB63_district_name == "MITCHAM"
replace GB63_enep = 2.493303 if GB63_district_name == "MONMOUTH"
replace GB63_enep = 3.246324 if GB63_district_name == "MONTGOMERY"
replace GB63_enep = 2.625429 if GB63_district_name == "MORAY AND NAIRN"
replace GB63_enep = 2.502876 if GB63_district_name == "MORECAMBE AND LONSDALE"
replace GB63_enep = 1.658154 if GB63_district_name == "MORPETH"
replace GB63_enep = 2.058435 if GB63_district_name == "MOTHERWELL"
replace GB63_enep = 2.767541 if GB63_district_name == "NANTWICH"
replace GB63_enep = 1.704025 if GB63_district_name == "NEATH"
replace GB63_enep = 1.990245 if GB63_district_name == "NELSON AND COLNE"
replace GB63_enep = 1.984924 if GB63_district_name == "NEWARK"
replace GB63_enep = 2.739381 if GB63_district_name == "NEWBURY"
replace GB63_enep = 1.950192 if GB63_district_name == "NEWCASTLE UNDER LYME"
replace GB63_enep = 1.731714 if GB63_district_name == "NEWCASTLE-UPON-TYNE CENTRAL"
replace GB63_enep = 1.996751 if GB63_district_name == "NEWCASTLE-UPON-TYNE EAST"
replace GB63_enep = 1.909083 if GB63_district_name == "NEWCASTLE-UPON-TYNE NORTH"
replace GB63_enep = 1.946004 if GB63_district_name == "NEWCASTLE-UPONTYNE WEST"
replace GB63_enep = 2.540858 if GB63_district_name == "NEW FOREST"
replace GB63_enep = 1.956285 if GB63_district_name == "NEWPORT"
replace GB63_enep = 2.353668 if GB63_district_name == "NEWTON"
replace GB63_enep = 2.519087 if GB63_district_name == "CENTRAL NORFOLK"
replace GB63_enep = 1.999996 if GB63_district_name == "NORTH NORFOLK"
replace GB63_enep = 2.519313 if GB63_district_name == "SOUTH NORFOLK"
replace GB63_enep = 2.050868 if GB63_district_name == "SOUTH WEST NORFOLK"
replace GB63_enep = 1.662437 if GB63_district_name == "NORMANTON"
replace GB63_enep = 2.374391 if GB63_district_name == "NORTHAMPTON"
replace GB63_enep = 1.985513 if GB63_district_name == "SOUTH NORTHAMPTONSHIRE"
replace GB63_enep = 1.828879 if GB63_district_name == "NORTH FYLDE"
replace GB63_enep = 2.639269 if GB63_district_name == "NORTHWICH"
replace GB63_enep = 1.909006 if GB63_district_name == "NORWICH,NORTH"
replace GB63_enep = 1.999402 if GB63_district_name == "NORWICH,SOUTH"
replace GB63_enep = 1.994342 if GB63_district_name == "NOTTINGHAM,CENTRAL"
replace GB63_enep = 2.058182 if GB63_district_name == "NOTTINGHAM,NORTH"
replace GB63_enep = 2.522838 if GB63_district_name == "NOTTINGHAM,SOUTH"
replace GB63_enep = 1.994543 if GB63_district_name == "NOTTINGHAM,WEST"
replace GB63_enep = 2.524779 if GB63_district_name == "NUNEATON"
replace GB63_enep = 1.71924 if GB63_district_name == "OGMORE"
replace GB63_enep = 2.794062 if GB63_district_name == "OLDBURY AND HALESOWEN"
replace GB63_enep = 2.709887 if GB63_district_name == "OLDHAM,EAST"
replace GB63_enep = 1.940453 if GB63_district_name == "OLDHAM,WEST"
replace GB63_enep = 2.164308 if GB63_district_name == "ORKNEY AND ZETLAND"
replace GB63_enep = 1.880985 if GB63_district_name == "ORMSKIRK"
replace GB63_enep = 2.391 if GB63_district_name == "ORPINGTON"
replace GB63_enep = 2.73549 if GB63_district_name == "OSWESTRY"
replace GB63_enep = 2.675206 if GB63_district_name == "OXFORD"
replace GB63_enep = 1.951784 if GB63_district_name == "PADDINGTON,NORTH"
replace GB63_enep = 2.373771 if GB63_district_name == "PADDINGTON,SOUTH"
replace GB63_enep = 2.426652 if GB63_district_name == "PAISLEY"
replace GB63_enep = 2.837945 if GB63_district_name == "PEMBROKE"
replace GB63_enep = 2.32725 if GB63_district_name == "PENISTONE"
replace GB63_enep = 2.598697 if GB63_district_name == "PENRITH AND THE BORDERS"
replace GB63_enep = 2.34372 if GB63_district_name == "PERTH AND EAST PERTHSHIRE"
replace GB63_enep = 2.480773 if GB63_district_name == "PETERBOROUGH"
replace GB63_enep = 2.521875 if GB63_district_name == "PETERSFIELD"
replace GB63_enep = 1.987016 if GB63_district_name == "PLYMOUTH,DEVONPORT"
replace GB63_enep = 2.532607 if GB63_district_name == "PLYMOUTH,SUTTON"
replace GB63_enep = 1.570156 if GB63_district_name == "PONTEFRACT"
replace GB63_enep = 1.652415 if GB63_district_name == "PONTYPOOL"
replace GB63_enep = 1.691588 if GB63_district_name == "PONTYPRIDD"
replace GB63_enep = 2.768888 if GB63_district_name == "POOLE"
replace GB63_enep = 1.529949 if GB63_district_name == "POPLAR"
replace GB63_enep = 2.631719 if GB63_district_name == "PORTSMOUTH,LANGSTON"
replace GB63_enep = 1.86055 if GB63_district_name == "PORTSMOUTH,SOUTH"
replace GB63_enep = 1.99964 if GB63_district_name == "PORTSMOUTH,WEST"
replace GB63_enep = 2 if GB63_district_name == "PRESTON,NORTH"
replace GB63_enep = 1.999835 if GB63_district_name == "PRESTON,SOUTH"
replace GB63_enep = 2.688684 if GB63_district_name == "PUDSEY"
replace GB63_enep = 2.49619 if GB63_district_name == "READING"
replace GB63_enep = 2.701403 if GB63_district_name == "REIGATE"
replace GB63_enep = 2.502476 if GB63_district_name == "EAST RENFREWSHIRE"
replace GB63_enep = 2.410398 if GB63_district_name == "WEST RENFREWSHIRE"
replace GB63_enep = 1.867849 if GB63_district_name == "RHONDDA,EAST"
replace GB63_enep = 1.539307 if GB63_district_name == "RHONDDA,WEST"
replace GB63_enep = 2.58343 if GB63_district_name == "RICHMOND (SURREY)"
replace GB63_enep = 2.318645 if GB63_district_name == "RICHMOND (YORKSHIRE)"
replace GB63_enep = 2.477228 if GB63_district_name == "RIPON"
replace GB63_enep = 2.769095 if GB63_district_name == "ROCHDALE"
replace GB63_enep = 1.999221 if GB63_district_name == "ROCHESTER AND CHATHAM"
replace GB63_enep = 2.618718 if GB63_district_name == "ROMFORD"
replace GB63_enep = 2.928877 if GB63_district_name == "ROSS AND CROMARTY"
replace GB63_enep = 1.987497 if GB63_district_name == "ROSSENDALE"
replace GB63_enep = 1.803961 if GB63_district_name == "ROTHERHAM"
replace GB63_enep = 1.61475 if GB63_district_name == "ROTHER VALLEY"
replace GB63_enep = 1.919879 if GB63_district_name == "ROWLEY REGIS AND TIPTON"
replace GB63_enep = 2.777234 if GB63_district_name == "ROXBURGH, SELKIRK AND PEEBLES"
replace GB63_enep = 2.562856 if GB63_district_name == "RUGBY"
replace GB63_enep = 2.554245 if GB63_district_name == "RUISLIP-NORTHWOOD"
replace GB63_enep = 2.640244 if GB63_district_name == "RUNCORN"
replace GB63_enep = 1.994453 if GB63_district_name == "RUSHCLIFFE"
replace GB63_enep = 2.16433 if GB63_district_name == "RUTHERGLEN"
replace GB63_enep = 1.975809 if GB63_district_name == "RUTLAND AND STAMFORD"
replace GB63_enep = 2.272825 if GB63_district_name == "RYE"
replace GB63_enep = 2.49464 if GB63_district_name == "SAFFRON WALDON"
replace GB63_enep = 2.586076 if GB63_district_name == "ST.ALBANS"
replace GB63_enep = 1.793109 if GB63_district_name == "ST.HELENS"
replace GB63_enep = 2.887491 if GB63_district_name == "ST.IVES"
replace GB63_enep = 2.369862 if GB63_district_name == "ST.MARYLEBONE"
replace GB63_enep = 1.998981 if GB63_district_name == "ST.PANCRAS NORTH"
replace GB63_enep = 1.905857 if GB63_district_name == "SALFORD,EAST"
replace GB63_enep = 1.976309 if GB63_district_name == "SALFORD,WEST"
replace GB63_enep = 2.620164 if GB63_district_name == "SALISBURY"
replace GB63_enep = 2.783683 if GB63_district_name == "SCARBOROUGH AND WHITBY"
replace GB63_enep = 1.91306 if GB63_district_name == "SEDGEFIELD"
replace GB63_enep = 2.578843 if GB63_district_name == "SEVENOAKS"
replace GB63_enep = 1.966151 if GB63_district_name == "SHEFFIELD,ATTERCLIFFE"
replace GB63_enep = 1.761723 if GB63_district_name == "SHEFFIELD,BRIGHTSIDE"
replace GB63_enep = 2.454657 if GB63_district_name == "SHEFFIELD,HALLAM"
replace GB63_enep = 1.998243 if GB63_district_name == "SHEFFIELD,HEELEY"
replace GB63_enep = 1.88346 if GB63_district_name == "SHEFFIELD,HILLSBOROUGH"
replace GB63_enep = 1.585013 if GB63_district_name == "SHEFFIELD,PARK"
replace GB63_enep = 2.503766 if GB63_district_name == "SHIPLEY"
replace GB63_enep = 1.76149 if GB63_district_name == "SHOREDITCH AND FINSBURY"
replace GB63_enep = 2.652282 if GB63_district_name == "SHREWSBURY"
replace GB63_enep = 2.783483 if GB63_district_name == "SKIPTON"
replace GB63_enep = 2.401928 if GB63_district_name == "SMETHWICK"
replace GB63_enep = 2.292202 if GB63_district_name == "SOLIHULL"
replace GB63_enep = 2.545081 if GB63_district_name == "NORTH SOMERSET"
replace GB63_enep = 2.364568 if GB63_district_name == "SOUTHALL"
replace GB63_enep = 2.41935 if GB63_district_name == "SOUTHAMPTON,ITCHEN"
replace GB63_enep = 1.999907 if GB63_district_name == "SOUTHAMPTON,TEST"
replace GB63_enep = 2.578129 if GB63_district_name == "SOUTHEND EAST"
replace GB63_enep = 2.622797 if GB63_district_name == "SOUTHEND WEST"
replace GB63_enep = 2.346157 if GB63_district_name == "SOUTH FYLDE"
replace GB63_enep = 2.485329 if GB63_district_name == "SOUTHGATE"
replace GB63_enep = 2.596292 if GB63_district_name == "SOUTHPORT"
replace GB63_enep = 2.398221 if GB63_district_name == "SOUTH SHIELDS"
replace GB63_enep = 1.834769 if GB63_district_name == "SOUTHWARK"
replace GB63_enep = 1.985831 if GB63_district_name == "SOWERBY"
replace GB63_enep = 2.647186 if GB63_district_name == "SPELTHORNE"
replace GB63_enep = 2.474604 if GB63_district_name == "STAFFORD AND STONE"
replace GB63_enep = 1.987335 if GB63_district_name == "STALYBRIDGE AND HYDE"
replace GB63_enep = 1.788529 if GB63_district_name == "STEPNEY"
replace GB63_enep = 2.34713 if GB63_district_name == "STIRLING AND FALKIRK"
replace GB63_enep = 2.295834 if GB63_district_name == "CLACKMANNAN AND EAST STIRLINGSHIRE"
replace GB63_enep = 1.940316 if GB63_district_name == "WEST STIRLINGSHIRE"
replace GB63_enep = 2.613913 if GB63_district_name == "STOCKPORT NORTH"
replace GB63_enep = 2.718894 if GB63_district_name == "STOCKPORT SOUTH"
replace GB63_enep = 2.497378 if GB63_district_name == "STOCKTON-ON-TEES"
replace GB63_enep = 2.321599 if GB63_district_name == "STOKE NEWINGTON AND HACKNEY NORTH"
replace GB63_enep = 1.851588 if GB63_district_name == "STOKE ON TRENT,CENTRAL"
replace GB63_enep = 1.840134 if GB63_district_name == "STOKE ON TRENT,NORTH"
replace GB63_enep = 1.914589 if GB63_district_name == "STOKE ON TRENT,SOUTH"
replace GB63_enep = 2.476404 if GB63_district_name == "STRATFORD"
replace GB63_enep = 2.868368 if GB63_district_name == "STRETFORD"
replace GB63_enep = 2.689887 if GB63_district_name == "STROUD"
replace GB63_enep = 2.531273 if GB63_district_name == "SUDBURY AND WOODBRIDGE"
replace GB63_enep = 2.068582 if GB63_district_name == "SUNDERLAND NORTH"
replace GB63_enep = 1.998058 if GB63_district_name == "SUNDERLAND SOUTH"
replace GB63_enep = 1.914236 if GB63_district_name == "SURBITON"
replace GB63_enep = 2.394542 if GB63_district_name == "EAST SURREY"
replace GB63_enep = 2.553243 if GB63_district_name == "SUTTON AND CHEAM"
replace GB63_enep = 2.472165 if GB63_district_name == "SUTTON COLDFIELD"
replace GB63_enep = 1.73986 if GB63_district_name == "SWANSEA,EAST"
replace GB63_enep = 2.389563 if GB63_district_name == "SWANSEA,WEST"
replace GB63_enep = 1.983868 if GB63_district_name == "SWINDON"
replace GB63_enep = 2.650717 if GB63_district_name == "TAUNTON"
replace GB63_enep = 2.640467 if GB63_district_name == "TAVISTOCK"
replace GB63_enep = 1.806022 if GB63_district_name == "THIRSK AND MALTON"
replace GB63_enep = 2.344927 if GB63_district_name == "THURROCK"
replace GB63_enep = 2.658884 if GB63_district_name == "TIVERTON"
replace GB63_enep = 2.599157 if GB63_district_name == "TONBRIDGE"
replace GB63_enep = 2.577537 if GB63_district_name == "TORQUAY"
replace GB63_enep = 2.617867 if GB63_district_name == "TORRINGTON"
replace GB63_enep = 2.707111 if GB63_district_name == "TOTNES"
replace GB63_enep = 2.372021 if GB63_district_name == "TOTTENHAM"
replace GB63_enep = 2.924381 if GB63_district_name == "TRURO"
replace GB63_enep = 2.762236 if GB63_district_name == "TWICKENHAM"
replace GB63_enep = 1.968874 if GB63_district_name == "TYNEMOUTH"
replace GB63_enep = 2.320271 if GB63_district_name == "ULSTER MID"
replace GB63_enep = 2.572284 if GB63_district_name == "UXBRIDGE"
replace GB63_enep = 2.382817 if GB63_district_name == "WAKEFIELD"
replace GB63_enep = 2.709538 if GB63_district_name == "WALLASEY"
replace GB63_enep = 1.916711 if GB63_district_name == "WALLSEND"
replace GB63_enep = 1.901498 if GB63_district_name == "WALSALL,NORTH"
replace GB63_enep = 1.960879 if GB63_district_name == "WALSALL,SOUTH"
replace GB63_enep = 2.617 if GB63_district_name == "WALTHAMSTOW,EAST"
replace GB63_enep = 2.403311 if GB63_district_name == "WALTHAMSTOW,WEST"
replace GB63_enep = 2.405622 if GB63_district_name == "WANDSWORTH,CENTRAL"
replace GB63_enep = 2.387358 if GB63_district_name == "WANDSWORTH,CLAPHAM"
replace GB63_enep = 2.509238 if GB63_district_name == "WANDSWORTH,PUTNEY"
replace GB63_enep = 2.520031 if GB63_district_name == "WANDSWORTH,STREATHAM"
replace GB63_enep = 2.454737 if GB63_district_name == "WANSTEAD AND WOODFORD"
replace GB63_enep = 2.2818 if GB63_district_name == "WARRINGTON"
replace GB63_enep = 2.378124 if GB63_district_name == "WARWICK AND LEAMINGTON"
replace GB63_enep = 2.52396 if GB63_district_name == "WATFORD"
replace GB63_enep = 1.989198 if GB63_district_name == "WEDNESBURY"
replace GB63_enep = 2.627631 if GB63_district_name == "WELLINGBOROUGH"
replace GB63_enep = 2.859474 if GB63_district_name == "WELLS"
replace GB63_enep = 2.619545 if GB63_district_name == "WEMBLEY NORTH"
replace GB63_enep = 2.609583 if GB63_district_name == "WEMBLEY SOUTH"
replace GB63_enep = 1.979077 if GB63_district_name == "WEST BROMWICH"
replace GB63_enep = 2.847338 if GB63_district_name == "WESTBURY"
replace GB63_enep = 2.387124 if GB63_district_name == "WESTERN ISLES"
replace GB63_enep = 2.251253 if GB63_district_name == "WEST HAM NORTH"
replace GB63_enep = 1.703561 if GB63_district_name == "WEST HAM SOUTH"
replace GB63_enep = 1.895347 if GB63_district_name == "WESTHOUGHTON"
replace GB63_enep = 2.64219 if GB63_district_name == "WEST LOTHIAN"
replace GB63_enep = 2.557068 if GB63_district_name == "WESTMORLAND"
replace GB63_enep = 2.55293 if GB63_district_name == "WESTON SUPER MARE"
replace GB63_enep = 1.921434 if GB63_district_name == "WHITEHAVEN"
replace GB63_enep = 1.963392 if GB63_district_name == "WIDNES"
replace GB63_enep = 1.780442 if GB63_district_name == "WIGAN"
replace GB63_enep = 1.995868 if GB63_district_name == "WILLESDEN,EAST"
replace GB63_enep = 1.95006 if GB63_district_name == "WILLESDEN,WEST"
replace GB63_enep = 2.558939 if GB63_district_name == "WIMBLEDON"
replace GB63_enep = 2.482922 if GB63_district_name == "WINCHESTER"
replace GB63_enep = 2.64844 if GB63_district_name == "WINDSOR"
replace GB63_enep = 2.657759 if GB63_district_name == "WIRRAL"
replace GB63_enep = 2.565163 if GB63_district_name == "WOKING"
replace GB63_enep = 2.678452 if GB63_district_name == "WOKINGHAM"
replace GB63_enep = 1.971421 if GB63_district_name == "WOLVERHAMPTON NORTH EAST"
replace GB63_enep = 2.26846 if GB63_district_name == "WOLVERHAMPTON SOUTH WEST"
replace GB63_enep = 1.965294 if GB63_district_name == "WOOD GREEN"
replace GB63_enep = 1.764639 if GB63_district_name == "WOOLWICH,EAST"
replace GB63_enep = 2.098246 if GB63_district_name == "WOOLWICH,WEST"
replace GB63_enep = 2.474508 if GB63_district_name == "WORCESTER"
replace GB63_enep = 2.623492 if GB63_district_name == "SOUTH WORCESTERSHIRE"
replace GB63_enep = 1.889059 if GB63_district_name == "WORKINGTON"
replace GB63_enep = 2.219379 if GB63_district_name == "WORTHING"
replace GB63_enep = 2.342124 if GB63_district_name == "THE WREKIN"
replace GB63_enep = 2.199438 if GB63_district_name == "WREXHAM"
replace GB63_enep = 2.534287 if GB63_district_name == "WYCOMBE"
replace GB63_enep = 2.435766 if GB63_district_name == "YARMOUTH"
replace GB63_enep = 2.854602 if GB63_district_name == "YEOVIL"
replace GB63_enep = 2.517039 if GB63_district_name == "YORK"


******************************************************************
** INCUMBENT PARTY REELECTED: 1964 GENERAL ELECTION (1963 WAVE) **
******************************************************************

gen GB63_reelected = .

replace GB63_reelected = 1 if GB63_district_name == "ABERAVON"
replace GB63_reelected = 1 if GB63_district_name == "ABERDARE"
replace GB63_reelected = 1 if GB63_district_name == "ABERDEEN NORTH"
replace GB63_reelected = 1 if GB63_district_name == "ABERDEEN SOUTH"
replace GB63_reelected = 1 if GB63_district_name == "EAST ABERDEENSHIRE"
replace GB63_reelected = 1 if GB63_district_name == "WEST ABERDEENSHIRE"
replace GB63_reelected = 1 if GB63_district_name == "ABERTILLERY"
replace GB63_reelected = 1 if GB63_district_name == "ABINGDON"
replace GB63_reelected = 1 if GB63_district_name == "ACCRINGTON"
replace GB63_reelected = 0 if GB63_district_name == "ACTON"
replace GB63_reelected = 1 if GB63_district_name == "ALDERSHOT"
replace GB63_reelected = 1 if GB63_district_name == "ALTRINCHAM AND SALE"
replace GB63_reelected = 1 if GB63_district_name == "ANGLESEY"
replace GB63_reelected = 1 if GB63_district_name == "NORTH ANGUS AND MEARNS"
replace GB63_reelected = 1 if GB63_district_name == "SOUTH ANGUS"
replace GB63_reelected = 1 if GB63_district_name == "ANTRIM NORTH"
replace GB63_reelected = 1 if GB63_district_name == "ANTRIM SOUTH"
replace GB63_reelected = 1 if GB63_district_name == "ARGYLL"
replace GB63_reelected = 1 if GB63_district_name == "ARMAGH"
replace GB63_reelected = 1 if GB63_district_name == "ARUNDEL AND SHOREHAM"
replace GB63_reelected = 1 if GB63_district_name == "ASHFIELD"
replace GB63_reelected = 1 if GB63_district_name == "ASHFORD"
replace GB63_reelected = 1 if GB63_district_name == "ASHTON UNDER LYNE"
replace GB63_reelected = 1 if GB63_district_name == "AYLESBURY"
replace GB63_reelected = 1 if GB63_district_name == "AYR"
replace GB63_reelected = 1 if GB63_district_name == "CENTRAL AYRSHIRE"
replace GB63_reelected = 1 if GB63_district_name == "BUTE AND NORTH AYRSHIRE"
replace GB63_reelected = 1 if GB63_district_name == "SOUTH AYRSHIRE"
replace GB63_reelected = 1 if GB63_district_name == "BANBURY"
replace GB63_reelected = 1 if GB63_district_name == "BANFF"
replace GB63_reelected = 1 if GB63_district_name == "BARKING"
replace GB63_reelected = 1 if GB63_district_name == "BARKSTON ASH"
replace GB63_reelected = 1 if GB63_district_name == "BARNET"
replace GB63_reelected = 1 if GB63_district_name == "BARNSLEY"
replace GB63_reelected = 0 if GB63_district_name == "BARONS COURT"
replace GB63_reelected = 1 if GB63_district_name == "BARROW IN FURNESS"
replace GB63_reelected = 1 if GB63_district_name == "BARRY"
replace GB63_reelected = 1 if GB63_district_name == "BASINGSTOKE"
replace GB63_reelected = 1 if GB63_district_name == "BASSETLAW"
replace GB63_reelected = 1 if GB63_district_name == "BATH"
replace GB63_reelected = 1 if GB63_district_name == "BATLEY AND MORLEY"
replace GB63_reelected = 1 if GB63_district_name == "BATTERSEA,NORTH"
replace GB63_reelected = 0 if GB63_district_name == "BATTERSEA,SOUTH"
replace GB63_reelected = 1 if GB63_district_name == "BEBINGTON"
replace GB63_reelected = 1 if GB63_district_name == "BECKENHAM"
replace GB63_reelected = 1 if GB63_district_name == "BEDFORD"
replace GB63_reelected = 1 if GB63_district_name == "MID-BEDFORDSHIRE"
replace GB63_reelected = 1 if GB63_district_name == "SOUTH BEDFORDSHIRE"
replace GB63_reelected = 1 if GB63_district_name == "BEDWELLTY"
replace GB63_reelected = 1 if GB63_district_name == "BELFAST EAST"
replace GB63_reelected = 1 if GB63_district_name == "BELFAST NORTH"
replace GB63_reelected = 1 if GB63_district_name == "BELFAST SOUTH"
replace GB63_reelected = 1 if GB63_district_name == "BELFAST WEST"
replace GB63_reelected = 1 if GB63_district_name == "BELPER"
replace GB63_reelected = 1 if GB63_district_name == "BERMONDSEY"
replace GB63_reelected = 1 if GB63_district_name == "BERWICK AND EAST LOTHIAN"
replace GB63_reelected = 1 if GB63_district_name == "BERWICK UPON TWEED"
replace GB63_reelected = 1 if GB63_district_name == "BETHNAL GREEN"
replace GB63_reelected = 1 if GB63_district_name == "BEXLEY"
replace GB63_reelected = 1 if GB63_district_name == "BILLERICAY"
replace GB63_reelected = 1 if GB63_district_name == "BILSTON"
replace GB63_reelected = 1 if GB63_district_name == "BIRKENHEAD"
replace GB63_reelected = 0 if GB63_district_name == "BIRMINGHAM,ALL SAINTS"
replace GB63_reelected = 1 if GB63_district_name == "BIRMINGHAM,ASTON"
replace GB63_reelected = 1 if GB63_district_name == "BIRMINGHAM,EDGBASTON"
replace GB63_reelected = 1 if GB63_district_name == "BIRMINGHAM,HALL GREEN"
replace GB63_reelected = 1 if GB63_district_name == "BIRMINGHAM,HANDSWORTH"
replace GB63_reelected = 1 if GB63_district_name == "BIRMINGHAM,LADYWOOD"
replace GB63_reelected = 1 if GB63_district_name == "BIRMINGHAM,NORTHFIED"
replace GB63_reelected = 0 if GB63_district_name == "BIRMINGHAM,PERRY BARR"
replace GB63_reelected = 1 if GB63_district_name == "BIRMINGHAM,SELLY OAK"
replace GB63_reelected = 1 if GB63_district_name == "BIRMINGHAM,SMALL HEATH"
replace GB63_reelected = 0 if GB63_district_name == "BIRMINGHAM,SPARKBROOK"
replace GB63_reelected = 1 if GB63_district_name == "BIRMINGHAM,STECHFORD"
replace GB63_reelected = 0 if GB63_district_name == "BIRMINGHAM,YARDLEY"
replace GB63_reelected = 1 if GB63_district_name == "BISHOP AUCKLAND"
replace GB63_reelected = 1 if GB63_district_name == "BLACKBURN"
replace GB63_reelected = 1 if GB63_district_name == "BLACKPOOL,NORTH"
replace GB63_reelected = 1 if GB63_district_name == "BLACKPOOL,SOUTH"
replace GB63_reelected = 1 if GB63_district_name == "BLAYDON"
replace GB63_reelected = 1 if GB63_district_name == "BLYTH"
replace GB63_reelected = 0 if GB63_district_name == "BODMIN"
replace GB63_reelected = 1 if GB63_district_name == "BOLSOVER"
replace GB63_reelected = 0 if GB63_district_name == "BOLTON,EAST"
replace GB63_reelected = 0 if GB63_district_name == "BOLTON,WEST"
replace GB63_reelected = 1 if GB63_district_name == "BOOTLE"
replace GB63_reelected = 1 if GB63_district_name == "BOSWORTH"
replace GB63_reelected = 1 if GB63_district_name == "BOTHWELL"
replace GB63_reelected = 1 if GB63_district_name == "BOURNEMOUTH EAST AND CHRISTCHURCH"
replace GB63_reelected = 1 if GB63_district_name == "BOURNEMOUTH WEST"
replace GB63_reelected = 1 if GB63_district_name == "BRADFORD,EAST"
replace GB63_reelected = 0 if GB63_district_name == "BRADFORD,NORTH"
replace GB63_reelected = 1 if GB63_district_name == "BRADFORD,SOUTH"
replace GB63_reelected = 1 if GB63_district_name == "BRADFORD,WEST"
replace GB63_reelected = 1 if GB63_district_name == "BRECON AND RADNOR"
replace GB63_reelected = 1 if GB63_district_name == "BRENTFORD AND CHISWICK"
replace GB63_reelected = 1 if GB63_district_name == "BRIDGWATER"
replace GB63_reelected = 1 if GB63_district_name == "BRIDLINGTON"
replace GB63_reelected = 1 if GB63_district_name == "BRIERLEY HILL"
replace GB63_reelected = 1 if GB63_district_name == "BRIGG"
replace GB63_reelected = 1 if GB63_district_name == "BRIGHOUSE AND SPENBOROUGH"
replace GB63_reelected = 0 if GB63_district_name == "BRIGHTON,KEMPTOWN"
replace GB63_reelected = 1 if GB63_district_name == "BRIGHTON,PAVILION"
replace GB63_reelected = 1 if GB63_district_name == "BRISTOL,CENTRAL"
replace GB63_reelected = 1 if GB63_district_name == "BRISTOL,NORTH EAST"
replace GB63_reelected = 1 if GB63_district_name == "BRISTOL,NORTH WEST"
replace GB63_reelected = 1 if GB63_district_name == "BRISTOL,SOUTH"
replace GB63_reelected = 1 if GB63_district_name == "BRISTOL,SOUTH EAST"
replace GB63_reelected = 1 if GB63_district_name == "BRISTOL,WEST"
replace GB63_reelected = 1 if GB63_district_name == "BROMLEY"
replace GB63_reelected = 1 if GB63_district_name == "BROMSGROVE"
replace GB63_reelected = 0 if GB63_district_name == "BUCKINGHAM"
replace GB63_reelected = 1 if GB63_district_name == "SOUTH BUCKINGHAMSHIRE"
replace GB63_reelected = 1 if GB63_district_name == "BURNLEY"
replace GB63_reelected = 1 if GB63_district_name == "BURTON"
replace GB63_reelected = 0 if GB63_district_name == "BURY AND RADCLIFFE"
replace GB63_reelected = 1 if GB63_district_name == "BURY ST.EDMUNDS"
replace GB63_reelected = 1 if GB63_district_name == "CAERNARVON"
replace GB63_reelected = 1 if GB63_district_name == "CAERPHILLY"
replace GB63_reelected = 0 if GB63_district_name == "CAITHNESS AND SUTHERLAND"
replace GB63_reelected = 0 if GB63_district_name == "CAMBERWELL,DULWICH"
replace GB63_reelected = 1 if GB63_district_name == "CAMBERWELL,PECKHAM"
replace GB63_reelected = 1 if GB63_district_name == "CAMBRIDGE"
replace GB63_reelected = 1 if GB63_district_name == "CAMBRIDGESHIRE"
replace GB63_reelected = 1 if GB63_district_name == "CANNOCK"
replace GB63_reelected = 1 if GB63_district_name == "CANTERBURY"
replace GB63_reelected = 1 if GB63_district_name == "CARDIFF,NORTH"
replace GB63_reelected = 1 if GB63_district_name == "CARDIFF,SOUTH EAST"
replace GB63_reelected = 1 if GB63_district_name == "CARDIFF,WEST"
replace GB63_reelected = 1 if GB63_district_name == "CARDIGAN"
replace GB63_reelected = 0 if GB63_district_name == "CARLISLE"
replace GB63_reelected = 1 if GB63_district_name == "CARLTON"
replace GB63_reelected = 1 if GB63_district_name == "CARMARTHEN"
replace GB63_reelected = 1 if GB63_district_name == "CARSHALTON"
replace GB63_reelected = 1 if GB63_district_name == "CHEADLE"
replace GB63_reelected = 1 if GB63_district_name == "CHELMSFORD"
replace GB63_reelected = 1 if GB63_district_name == "CHELSEA"
replace GB63_reelected = 1 if GB63_district_name == "CHELTENHAM"
replace GB63_reelected = 1 if GB63_district_name == "CHERTSEY"
replace GB63_reelected = 1 if GB63_district_name == "CITY OF CHESTER"
replace GB63_reelected = 1 if GB63_district_name == "CHESTERFIELD"
replace GB63_reelected = 1 if GB63_district_name == "CHESTER-LE-STREET"
replace GB63_reelected = 1 if GB63_district_name == "CHICHESTER"
replace GB63_reelected = 1 if GB63_district_name == "CHIGWELL"
replace GB63_reelected = 1 if GB63_district_name == "CHIPPENHAM"
replace GB63_reelected = 1 if GB63_district_name == "CHISLEHURST"
replace GB63_reelected = 1 if GB63_district_name == "CHORLEY"
replace GB63_reelected = 1 if GB63_district_name == "CIRENCESTER AND TEWKESBURY"
replace GB63_reelected = 0 if GB63_district_name == "CLEVELAND"
replace GB63_reelected = 1 if GB63_district_name == "CLITHEROE"
replace GB63_reelected = 1 if GB63_district_name == "COATBRIDGE AND AIRDRIE"
replace GB63_reelected = 1 if GB63_district_name == "COLCHESTER"
replace GB63_reelected = 1 if GB63_district_name == "COLNE VALLEY"
replace GB63_reelected = 1 if GB63_district_name == "CONSETT"
replace GB63_reelected = 1 if GB63_district_name == "CONWAY"
replace GB63_reelected = 1 if GB63_district_name == "NORTH CORNWALL"
replace GB63_reelected = 1 if GB63_district_name == "COVENTRY,EAST"
replace GB63_reelected = 1 if GB63_district_name == "COVENTRY,NORTH"
replace GB63_reelected = 0 if GB63_district_name == "COVENTRY,SOUTH"
replace GB63_reelected = 1 if GB63_district_name == "CREWE"
replace GB63_reelected = 1 if GB63_district_name == "CROSBY"
replace GB63_reelected = 1 if GB63_district_name == "CROYDON,NORTH EAST"
replace GB63_reelected = 1 if GB63_district_name == "CROYDON,NORTH WEST"
replace GB63_reelected = 1 if GB63_district_name == "CROYDON,SOUTH"
replace GB63_reelected = 1 if GB63_district_name == "DAGENHAM"
replace GB63_reelected = 0 if GB63_district_name == "DARLINGTON"
replace GB63_reelected = 1 if GB63_district_name == "DARTFORD"
replace GB63_reelected = 1 if GB63_district_name == "DARWEN"
replace GB63_reelected = 1 if GB63_district_name == "DEARNE VALLEY"
replace GB63_reelected = 1 if GB63_district_name == "DENBIGH"
replace GB63_reelected = 1 if GB63_district_name == "DEPTFORD"
replace GB63_reelected = 1 if GB63_district_name == "DERBY NORTH"
replace GB63_reelected = 1 if GB63_district_name == "DERBY SOUTH"
replace GB63_reelected = 1 if GB63_district_name == "NORTH EAST DERBYSHIRE"
replace GB63_reelected = 0 if GB63_district_name == "SOUTH EAST DERBYSHIRE"
replace GB63_reelected = 1 if GB63_district_name == "WEST DERBYSHIRE"
replace GB63_reelected = 1 if GB63_district_name == "DEVIZES"
replace GB63_reelected = 1 if GB63_district_name == "NORTH DEVON"
replace GB63_reelected = 1 if GB63_district_name == "DEWSBURY"
replace GB63_reelected = 0 if GB63_district_name == "DONCASTER"
replace GB63_reelected = 1 if GB63_district_name == "DON VALLEY"
replace GB63_reelected = 1 if GB63_district_name == "DORKING"
replace GB63_reelected = 1 if GB63_district_name == "NORTH DORSET"
replace GB63_reelected = 1 if GB63_district_name == "SOUTH DORSET"
replace GB63_reelected = 1 if GB63_district_name == "WEST DORSET"
replace GB63_reelected = 0 if GB63_district_name == "DOVER"
replace GB63_reelected = 1 if GB63_district_name == "DOWN NORTH"
replace GB63_reelected = 1 if GB63_district_name == "DOWN SOUTH"
replace GB63_reelected = 1 if GB63_district_name == "DUDLEY"
replace GB63_reelected = 1 if GB63_district_name == "DUMFRIES"
replace GB63_reelected = 1 if GB63_district_name == "EAST DUNBARTONSHIRE"
replace GB63_reelected = 1 if GB63_district_name == "WEST DUNBARTONSHIRE"
replace GB63_reelected = 1 if GB63_district_name == "DUNDEE EAST"
replace GB63_reelected = 1 if GB63_district_name == "DUNDEE WEST"
replace GB63_reelected = 1 if GB63_district_name == "DUNFERMLINE BURGHS"
replace GB63_reelected = 1 if GB63_district_name == "DURHAM"
replace GB63_reelected = 1 if GB63_district_name == "NORTH WEST DURHAM"
replace GB63_reelected = 0 if GB63_district_name == "EALING,NORTH"
replace GB63_reelected = 1 if GB63_district_name == "EALING,SOUTH"
replace GB63_reelected = 1 if GB63_district_name == "EASINGTON"
replace GB63_reelected = 1 if GB63_district_name == "EASTBOURNE"
replace GB63_reelected = 1 if GB63_district_name == "EAST GRINSTEAD"
replace GB63_reelected = 1 if GB63_district_name == "EAST HAM,NORTH"
replace GB63_reelected = 1 if GB63_district_name == "EAST HAM,SOUTH"
replace GB63_reelected = 1 if GB63_district_name == "EASTLEIGH"
replace GB63_reelected = 1 if GB63_district_name == "EBBW VALE"
replace GB63_reelected = 1 if GB63_district_name == "ECCLES"
replace GB63_reelected = 1 if GB63_district_name == "EDINBURGH CENTRAL"
replace GB63_reelected = 1 if GB63_district_name == "EDINBURGH EAST"
replace GB63_reelected = 1 if GB63_district_name == "EDINBURGH LEITH"
replace GB63_reelected = 1 if GB63_district_name == "EDINBURGH NORTH"
replace GB63_reelected = 1 if GB63_district_name == "EDINBURGH PENTLANDS"
replace GB63_reelected = 1 if GB63_district_name == "EDINBURGH SOUTH"
replace GB63_reelected = 1 if GB63_district_name == "EDINBURGH WEST"
replace GB63_reelected = 1 if GB63_district_name == "EDMONTON"
replace GB63_reelected = 1 if GB63_district_name == "ENFIELD,EAST"
replace GB63_reelected = 1 if GB63_district_name == "ENFIELD,WEST"
replace GB63_reelected = 0 if GB63_district_name == "EPPING"
replace GB63_reelected = 1 if GB63_district_name == "EPSOM"
replace GB63_reelected = 1 if GB63_district_name == "ERITH AND CRAYFORD"
replace GB63_reelected = 1 if GB63_district_name == "ESHER"
replace GB63_reelected = 1 if GB63_district_name == "SOUTH EAST ESSEX"
replace GB63_reelected = 0 if GB63_district_name == "ETON AND SLOUGH"
replace GB63_reelected = 1 if GB63_district_name == "EXETER"
replace GB63_reelected = 1 if GB63_district_name == "EYE"
replace GB63_reelected = 1 if GB63_district_name == "FALMOUTH AND CAMBORNE"
replace GB63_reelected = 1 if GB63_district_name == "FARNHAM"
replace GB63_reelected = 1 if GB63_district_name == "FARNWORTH"
replace GB63_reelected = 1 if GB63_district_name == "FAVERSHAM"
replace GB63_reelected = 1 if GB63_district_name == "FELTHAM"
replace GB63_reelected = 1 if GB63_district_name == "FERMANAGH AND SOUTH TYRONE"
replace GB63_reelected = 1 if GB63_district_name == "EAST FIFE"
replace GB63_reelected = 1 if GB63_district_name == "WEST FIFE"
replace GB63_reelected = 1 if GB63_district_name == "FINCHLEY"
replace GB63_reelected = 1 if GB63_district_name == "EAST FLINTSHIRE"
replace GB63_reelected = 1 if GB63_district_name == "WEST FLINTSHIRE"
replace GB63_reelected = 1 if GB63_district_name == "FOLKESTONE AND HYTHE"
replace GB63_reelected = 1 if GB63_district_name == "FULHAM"
replace GB63_reelected = 1 if GB63_district_name == "GAINSBOROUGH"
replace GB63_reelected = 1 if GB63_district_name == "GALLOWAY"
replace GB63_reelected = 1 if GB63_district_name == "GATESHEAD EAST"
replace GB63_reelected = 1 if GB63_district_name == "GATESHEAD WEST"
replace GB63_reelected = 1 if GB63_district_name == "GILLINGHAM"
replace GB63_reelected = 1 if GB63_district_name == "GLASGOW BRIDGETON"
replace GB63_reelected = 1 if GB63_district_name == "GLASGOW CATHCART"
replace GB63_reelected = 1 if GB63_district_name == "GLASGOW CENTRAL"
replace GB63_reelected = 1 if GB63_district_name == "GLASGOW CRAIGTON"
replace GB63_reelected = 1 if GB63_district_name == "GLASGOW GORBALS"
replace GB63_reelected = 1 if GB63_district_name == "GLASGOW GOVAN"
replace GB63_reelected = 1 if GB63_district_name == "GLASGOW HILLHEAD"
replace GB63_reelected = 0 if GB63_district_name == "GLASGOW KELVINGROVE"
replace GB63_reelected = 1 if GB63_district_name == "GLASGOW MARYHILL"
replace GB63_reelected = 0 if GB63_district_name == "GLASGOW POLLOK"
replace GB63_reelected = 1 if GB63_district_name == "GLASGOW PROVAN"
replace GB63_reelected = 1 if GB63_district_name == "GLASGOW SCOTSTOUN"
replace GB63_reelected = 1 if GB63_district_name == "GLASGOW SHETTLESTON"
replace GB63_reelected = 1 if GB63_district_name == "GLASGOW SPRINGBURN"
replace GB63_reelected = 0 if GB63_district_name == "GLASGOW WOODSIDE"
replace GB63_reelected = 1 if GB63_district_name == "GLOUCESTER"
replace GB63_reelected = 1 if GB63_district_name == "SOUTH GLOUCESTERSHIRE"
replace GB63_reelected = 1 if GB63_district_name == "WEST GLOUCESTERSHIRE"
replace GB63_reelected = 1 if GB63_district_name == "GOOLE"
replace GB63_reelected = 1 if GB63_district_name == "GOSPORT AND FAREHAM"
replace GB63_reelected = 1 if GB63_district_name == "GOWER"
replace GB63_reelected = 1 if GB63_district_name == "GRANTHAM"
replace GB63_reelected = 0 if GB63_district_name == "GRAVESEND"
replace GB63_reelected = 1 if GB63_district_name == "GREENOCK"
replace GB63_reelected = 1 if GB63_district_name == "GREENWICH"
replace GB63_reelected = 1 if GB63_district_name == "GRIMSBY"
replace GB63_reelected = 1 if GB63_district_name == "GUILDFORD"
replace GB63_reelected = 1 if GB63_district_name == "HACKNEY CENTRAL"
replace GB63_reelected = 0 if GB63_district_name == "HALIFAX"
replace GB63_reelected = 1 if GB63_district_name == "HALTEMPRICE"
replace GB63_reelected = 1 if GB63_district_name == "HAMILTON"
replace GB63_reelected = 1 if GB63_district_name == "HAMMERSMITH NORTH"
replace GB63_reelected = 1 if GB63_district_name == "HAMPSTEAD"
replace GB63_reelected = 1 if GB63_district_name == "HARBOROUGH"
replace GB63_reelected = 1 if GB63_district_name == "HARROGATE"
replace GB63_reelected = 1 if GB63_district_name == "HARROW,CENTRAL"
replace GB63_reelected = 1 if GB63_district_name == "HARROW,EAST"
replace GB63_reelected = 1 if GB63_district_name == "HARROW,WEST"
replace GB63_reelected = 0 if GB63_district_name == "THE HARTLEPOOLS"
replace GB63_reelected = 1 if GB63_district_name == "HARWICH"
replace GB63_reelected = 1 if GB63_district_name == "HASTINGS"
replace GB63_reelected = 1 if GB63_district_name == "HAYES AND HARLINGTON"
replace GB63_reelected = 1 if GB63_district_name == "HEMEL HEMPSTEAD"
replace GB63_reelected = 1 if GB63_district_name == "HEMSWORTH"
replace GB63_reelected = 1 if GB63_district_name == "HENDON,NORTH"
replace GB63_reelected = 1 if GB63_district_name == "HENDON,SOUTH"
replace GB63_reelected = 1 if GB63_district_name == "HENLEY"
replace GB63_reelected = 1 if GB63_district_name == "HEREFORD"
replace GB63_reelected = 1 if GB63_district_name == "HERTFORD"
replace GB63_reelected = 1 if GB63_district_name == "EAST HERTFORDSHIRE"
replace GB63_reelected = 1 if GB63_district_name == "SOUTH WEST HERTFORDSHIRE"
replace GB63_reelected = 1 if GB63_district_name == "HESTON AND ISLEWORTH"
replace GB63_reelected = 1 if GB63_district_name == "HEXHAM"
replace GB63_reelected = 0 if GB63_district_name == "HEYWOOD AND ROYTON"
replace GB63_reelected = 1 if GB63_district_name == "HIGH PEAK"
replace GB63_reelected = 0 if GB63_district_name == "HITCHIN"
replace GB63_reelected = 0 if GB63_district_name == "HOLBORN AND ST.PANCRAS"
replace GB63_reelected = 1 if GB63_district_name == "HOLLAND WITH BOSTON"
replace GB63_reelected = 1 if GB63_district_name == "HONITON"
replace GB63_reelected = 1 if GB63_district_name == "HORNCASTLE"
replace GB63_reelected = 1 if GB63_district_name == "HORNCHURCH"
replace GB63_reelected = 1 if GB63_district_name == "HORNSEY"
replace GB63_reelected = 1 if GB63_district_name == "HORSHAM"
replace GB63_reelected = 1 if GB63_district_name == "HOUGHTON-LE-SPRING"
replace GB63_reelected = 1 if GB63_district_name == "HOVE"
replace GB63_reelected = 1 if GB63_district_name == "HOWDEN"
replace GB63_reelected = 1 if GB63_district_name == "HUDDERSFIELD,EAST"
replace GB63_reelected = 0 if GB63_district_name == "HUDDERSFIELD,WEST"
replace GB63_reelected = 1 if GB63_district_name == "HUNTINGDONSHIRE"
replace GB63_reelected = 1 if GB63_district_name == "HUYTON"
replace GB63_reelected = 1 if GB63_district_name == "ILFORD,NORTH"
replace GB63_reelected = 1 if GB63_district_name == "ILFORD,SOUTH"
replace GB63_reelected = 1 if GB63_district_name == "ILKESTON"
replace GB63_reelected = 1 if GB63_district_name == "INCE"
replace GB63_reelected = 0 if GB63_district_name == "INVERNESS"
replace GB63_reelected = 1 if GB63_district_name == "IPSWICH"
replace GB63_reelected = 1 if GB63_district_name == "THE ISLE OF ELY"
replace GB63_reelected = 1 if GB63_district_name == "ISLE OF THANET"
replace GB63_reelected = 1 if GB63_district_name == "ISLE OF WIGHT"
replace GB63_reelected = 1 if GB63_district_name == "ISLINGTON,EAST"
replace GB63_reelected = 1 if GB63_district_name == "ISLINGTON,NORTH"
replace GB63_reelected = 1 if GB63_district_name == "ISLINGTON,SOUTH WEST"
replace GB63_reelected = 1 if GB63_district_name == "JARROW"
replace GB63_reelected = 0 if GB63_district_name == "KEIGHLEY"
replace GB63_reelected = 1 if GB63_district_name == "KENSINGTON,NORTH"
replace GB63_reelected = 1 if GB63_district_name == "KENSINGTON,SOUTH"
replace GB63_reelected = 1 if GB63_district_name == "KETTERING"
replace GB63_reelected = 1 if GB63_district_name == "KIDDERMINSTER"
replace GB63_reelected = 1 if GB63_district_name == "KILMARNOCK"
replace GB63_reelected = 0 if GB63_district_name == "KING'S LYNN"
replace GB63_reelected = 1 if GB63_district_name == "KINGSTON-UPON-HULL EAST"
replace GB63_reelected = 0 if GB63_district_name == "KINGSTON-UPON-HULL NORTH"
replace GB63_reelected = 1 if GB63_district_name == "KINGSTON-UPON-HULL WEST"
replace GB63_reelected = 1 if GB63_district_name == "KINGSTON UPON THAMES"
replace GB63_reelected = 1 if GB63_district_name == "KINROSS AND WEST PERTHSHIRE"
replace GB63_reelected = 1 if GB63_district_name == "KIRKCALDY BURGHS"
replace GB63_reelected = 1 if GB63_district_name == "KNUTSFORD"
replace GB63_reelected = 1 if GB63_district_name == "LAMBETH,BRIXTON"
replace GB63_reelected = 1 if GB63_district_name == "LAMBETH,NORWOOD"
replace GB63_reelected = 1 if GB63_district_name == "LAMBETH,VAUXHALL"
replace GB63_reelected = 1 if GB63_district_name == "LANARK"
replace GB63_reelected = 1 if GB63_district_name == "NORTH LANARKSHIRE"
replace GB63_reelected = 1 if GB63_district_name == "LANCASTER"
replace GB63_reelected = 1 if GB63_district_name == "LEEDS,EAST"
replace GB63_reelected = 1 if GB63_district_name == "LEEDS,NORTH EAST"
replace GB63_reelected = 1 if GB63_district_name == "LEEDS,NORTH WEST"
replace GB63_reelected = 1 if GB63_district_name == "LEEDS,SOUTH"
replace GB63_reelected = 1 if GB63_district_name == "LEEDS,SOUTH EAST"
replace GB63_reelected = 1 if GB63_district_name == "LEEDS,WEST"
replace GB63_reelected = 1 if GB63_district_name == "LEEK"
replace GB63_reelected = 1 if GB63_district_name == "LEICESTER,NORTH EAST"
replace GB63_reelected = 1 if GB63_district_name == "LEICESTER,NORTH WEST"
replace GB63_reelected = 1 if GB63_district_name == "LEICESTER,SOUTH EAST"
replace GB63_reelected = 1 if GB63_district_name == "LEICESTER,SOUTH WEST"
replace GB63_reelected = 1 if GB63_district_name == "LEIGH"
replace GB63_reelected = 1 if GB63_district_name == "LEOMINSTER"
replace GB63_reelected = 1 if GB63_district_name == "LEWES"
replace GB63_reelected = 1 if GB63_district_name == "LEWISHAM,NORTH"
replace GB63_reelected = 1 if GB63_district_name == "LEWISHAM,SOUTH"
replace GB63_reelected = 1 if GB63_district_name == "LEWISHAM,WEST"
replace GB63_reelected = 1 if GB63_district_name == "LEYTON"
replace GB63_reelected = 1 if GB63_district_name == "LICHFIELD AND TAMWORTH"
replace GB63_reelected = 1 if GB63_district_name == "LINCOLN"
replace GB63_reelected = 1 if GB63_district_name == "LIVERPOOL,EDGE HILL"
replace GB63_reelected = 1 if GB63_district_name == "LIVERPOOL,EXCHANGE"
replace GB63_reelected = 1 if GB63_district_name == "LIVERPOOL,GARSTON"
replace GB63_reelected = 0 if GB63_district_name == "LIVERPOOL,KIRKDALE"
replace GB63_reelected = 1 if GB63_district_name == "LIVERPOOL,SCOTLAND"
replace GB63_reelected = 0 if GB63_district_name == "LIVERPOOL,TOXTETH"
replace GB63_reelected = 0 if GB63_district_name == "LIVERPOOL,WALTON"
replace GB63_reelected = 1 if GB63_district_name == "LIVERPOOL,WAVERTREE"
replace GB63_reelected = 0 if GB63_district_name == "LIVERPOOL,WEST DERBY"
replace GB63_reelected = 1 if GB63_district_name == "LLANELLI"
replace GB63_reelected = 1 if GB63_district_name == "CITIES OF LONDON AND WESTMINSTER"
replace GB63_reelected = 1 if GB63_district_name == "LONDONDERRY COUNTY"
replace GB63_reelected = 1 if GB63_district_name == "LOUGHBOROUGH"
replace GB63_reelected = 1 if GB63_district_name == "LOUTH"
replace GB63_reelected = 1 if GB63_district_name == "LOWESTOFT"
replace GB63_reelected = 1 if GB63_district_name == "LUDLOW"
replace GB63_reelected = 0 if GB63_district_name == "LUTON"
replace GB63_reelected = 1 if GB63_district_name == "MACCLESFIELD"
replace GB63_reelected = 1 if GB63_district_name == "MAIDSTONE"
replace GB63_reelected = 1 if GB63_district_name == "MALDON"
replace GB63_reelected = 1 if GB63_district_name == "MANCHESTER,ARDWICK"
replace GB63_reelected = 0 if GB63_district_name == "MANCHESTER,BLACKLEY"
replace GB63_reelected = 1 if GB63_district_name == "MANCHESTER,CHEETHAM"
replace GB63_reelected = 1 if GB63_district_name == "MANCHESTER,EXCHANGE"
replace GB63_reelected = 1 if GB63_district_name == "MANCHESTER,GORTON"
replace GB63_reelected = 1 if GB63_district_name == "MANCHESTER,MOSS SIDE"
replace GB63_reelected = 1 if GB63_district_name == "MANCHESTER,OPENSHAW"
replace GB63_reelected = 1 if GB63_district_name == "MANCHESTER,WITHINGTON"
replace GB63_reelected = 0 if GB63_district_name == "MANCHESTER,WYTHENSHAWE"
replace GB63_reelected = 1 if GB63_district_name == "MANSFIELD"
replace GB63_reelected = 1 if GB63_district_name == "MELTON"
replace GB63_reelected = 0 if GB63_district_name == "MERIDEN"
replace GB63_reelected = 1 if GB63_district_name == "MERIONETH"
replace GB63_reelected = 1 if GB63_district_name == "MERTHYR TYDFIL"
replace GB63_reelected = 1 if GB63_district_name == "MERTON AND MORDEN"
replace GB63_reelected = 1 if GB63_district_name == "MIDDLESBROUGH,EAST"
replace GB63_reelected = 0 if GB63_district_name == "MIDDLESBROUGH,WEST"
replace GB63_reelected = 1 if GB63_district_name == "MIDDLETON AND PRESTWICK"
replace GB63_reelected = 1 if GB63_district_name == "MIDLOTHIAN"
replace GB63_reelected = 1 if GB63_district_name == "MITCHAM"
replace GB63_reelected = 1 if GB63_district_name == "MONMOUTH"
replace GB63_reelected = 1 if GB63_district_name == "MONTGOMERY"
replace GB63_reelected = 1 if GB63_district_name == "MORAY AND NAIRN"
replace GB63_reelected = 1 if GB63_district_name == "MORECAMBE AND LONSDALE"
replace GB63_reelected = 1 if GB63_district_name == "MORPETH"
replace GB63_reelected = 1 if GB63_district_name == "MOTHERWELL"
replace GB63_reelected = 1 if GB63_district_name == "NANTWICH"
replace GB63_reelected = 1 if GB63_district_name == "NEATH"
replace GB63_reelected = 1 if GB63_district_name == "NELSON AND COLNE"
replace GB63_reelected = 1 if GB63_district_name == "NEWARK"
replace GB63_reelected = 1 if GB63_district_name == "NEWBURY"
replace GB63_reelected = 1 if GB63_district_name == "NEWCASTLE UNDER LYME"
replace GB63_reelected = 1 if GB63_district_name == "NEWCASTLE-UPON-TYNE CENTRAL"
replace GB63_reelected = 0 if GB63_district_name == "NEWCASTLE-UPON-TYNE EAST"
replace GB63_reelected = 1 if GB63_district_name == "NEWCASTLE-UPON-TYNE NORTH"
replace GB63_reelected = 1 if GB63_district_name == "NEWCASTLE-UPONTYNE WEST"
replace GB63_reelected = 1 if GB63_district_name == "NEW FOREST"
replace GB63_reelected = 1 if GB63_district_name == "NEWPORT"
replace GB63_reelected = 1 if GB63_district_name == "NEWTON"
replace GB63_reelected = 1 if GB63_district_name == "CENTRAL NORFOLK"
replace GB63_reelected = 1 if GB63_district_name == "NORTH NORFOLK"
replace GB63_reelected = 1 if GB63_district_name == "SOUTH NORFOLK"
replace GB63_reelected = 0 if GB63_district_name == "SOUTH WEST NORFOLK"
replace GB63_reelected = 1 if GB63_district_name == "NORMANTON"
replace GB63_reelected = 1 if GB63_district_name == "NORTHAMPTON"
replace GB63_reelected = 1 if GB63_district_name == "SOUTH NORTHAMPTONSHIRE"
replace GB63_reelected = 1 if GB63_district_name == "NORTH FYLDE"
replace GB63_reelected = 1 if GB63_district_name == "NORTHWICH"
replace GB63_reelected = 1 if GB63_district_name == "NORWICH,NORTH"
replace GB63_reelected = 0 if GB63_district_name == "NORWICH,SOUTH"
replace GB63_reelected = 0 if GB63_district_name == "NOTTINGHAM,CENTRAL"
replace GB63_reelected = 1 if GB63_district_name == "NOTTINGHAM,NORTH"
replace GB63_reelected = 1 if GB63_district_name == "NOTTINGHAM,SOUTH"
replace GB63_reelected = 0 if GB63_district_name == "NOTTINGHAM,WEST"
replace GB63_reelected = 1 if GB63_district_name == "NUNEATON"
replace GB63_reelected = 1 if GB63_district_name == "OGMORE"
replace GB63_reelected = 1 if GB63_district_name == "OLDBURY AND HALESOWEN"
replace GB63_reelected = 1 if GB63_district_name == "OLDHAM,EAST"
replace GB63_reelected = 1 if GB63_district_name == "OLDHAM,WEST"
replace GB63_reelected = 1 if GB63_district_name == "ORKNEY AND ZETLAND"
replace GB63_reelected = 1 if GB63_district_name == "ORMSKIRK"
replace GB63_reelected = 0 if GB63_district_name == "ORPINGTON"
replace GB63_reelected = 1 if GB63_district_name == "OSWESTRY"
replace GB63_reelected = 1 if GB63_district_name == "OXFORD"
replace GB63_reelected = 1 if GB63_district_name == "PADDINGTON,NORTH"
replace GB63_reelected = 1 if GB63_district_name == "PADDINGTON,SOUTH"
replace GB63_reelected = 1 if GB63_district_name == "PAISLEY"
replace GB63_reelected = 1 if GB63_district_name == "PEMBROKE"
replace GB63_reelected = 1 if GB63_district_name == "PENISTONE"
replace GB63_reelected = 1 if GB63_district_name == "PENRITH AND THE BORDERS"
replace GB63_reelected = 1 if GB63_district_name == "PERTH AND EAST PERTHSHIRE"
replace GB63_reelected = 1 if GB63_district_name == "PETERBOROUGH"
replace GB63_reelected = 1 if GB63_district_name == "PETERSFIELD"
replace GB63_reelected = 1 if GB63_district_name == "PLYMOUTH,DEVONPORT"
replace GB63_reelected = 1 if GB63_district_name == "PLYMOUTH,SUTTON"
replace GB63_reelected = 1 if GB63_district_name == "PONTEFRACT"
replace GB63_reelected = 1 if GB63_district_name == "PONTYPOOL"
replace GB63_reelected = 1 if GB63_district_name == "PONTYPRIDD"
replace GB63_reelected = 1 if GB63_district_name == "POOLE"
replace GB63_reelected = 1 if GB63_district_name == "POPLAR"
replace GB63_reelected = 1 if GB63_district_name == "PORTSMOUTH,LANGSTON"
replace GB63_reelected = 1 if GB63_district_name == "PORTSMOUTH,SOUTH"
replace GB63_reelected = 1 if GB63_district_name == "PORTSMOUTH,WEST"
replace GB63_reelected = 1 if GB63_district_name == "PRESTON,NORTH"
replace GB63_reelected = 0 if GB63_district_name == "PRESTON,SOUTH"
replace GB63_reelected = 1 if GB63_district_name == "PUDSEY"
replace GB63_reelected = 1 if GB63_district_name == "READING"
replace GB63_reelected = 1 if GB63_district_name == "REIGATE"
replace GB63_reelected = 1 if GB63_district_name == "EAST RENFREWSHIRE"
replace GB63_reelected = 0 if GB63_district_name == "WEST RENFREWSHIRE"
replace GB63_reelected = 1 if GB63_district_name == "RHONDDA,EAST"
replace GB63_reelected = 1 if GB63_district_name == "RHONDDA,WEST"
replace GB63_reelected = 1 if GB63_district_name == "RICHMOND (SURREY)"
replace GB63_reelected = 1 if GB63_district_name == "RICHMOND (YORKSHIRE)"
replace GB63_reelected = 1 if GB63_district_name == "RIPON"
replace GB63_reelected = 1 if GB63_district_name == "ROCHDALE"
replace GB63_reelected = 0 if GB63_district_name == "ROCHESTER AND CHATHAM"
replace GB63_reelected = 1 if GB63_district_name == "ROMFORD"
replace GB63_reelected = 0 if GB63_district_name == "ROSS AND CROMARTY"
replace GB63_reelected = 1 if GB63_district_name == "ROSSENDALE"
replace GB63_reelected = 1 if GB63_district_name == "ROTHERHAM"
replace GB63_reelected = 1 if GB63_district_name == "ROTHER VALLEY"
replace GB63_reelected = 1 if GB63_district_name == "ROWLEY REGIS AND TIPTON"
replace GB63_reelected = 1 if GB63_district_name == "ROXBURGH, SELKIRK AND PEEBLES"
replace GB63_reelected = 1 if GB63_district_name == "RUGBY"
replace GB63_reelected = 1 if GB63_district_name == "RUISLIP-NORTHWOOD"
replace GB63_reelected = 1 if GB63_district_name == "RUNCORN"
replace GB63_reelected = 1 if GB63_district_name == "RUSHCLIFFE"
replace GB63_reelected = 0 if GB63_district_name == "RUTHERGLEN"
replace GB63_reelected = 1 if GB63_district_name == "RUTLAND AND STAMFORD"
replace GB63_reelected = 1 if GB63_district_name == "RYE"
replace GB63_reelected = 1 if GB63_district_name == "SAFFRON WALDON"
replace GB63_reelected = 1 if GB63_district_name == "ST.ALBANS"
replace GB63_reelected = 1 if GB63_district_name == "ST.HELENS"
replace GB63_reelected = 1 if GB63_district_name == "ST.IVES"
replace GB63_reelected = 1 if GB63_district_name == "ST.MARYLEBONE"
replace GB63_reelected = 1 if GB63_district_name == "ST.PANCRAS NORTH"
replace GB63_reelected = 1 if GB63_district_name == "SALFORD,EAST"
replace GB63_reelected = 1 if GB63_district_name == "SALFORD,WEST"
replace GB63_reelected = 1 if GB63_district_name == "SALISBURY"
replace GB63_reelected = 1 if GB63_district_name == "SCARBOROUGH AND WHITBY"
replace GB63_reelected = 1 if GB63_district_name == "SEDGEFIELD"
replace GB63_reelected = 1 if GB63_district_name == "SEVENOAKS"
replace GB63_reelected = 1 if GB63_district_name == "SHEFFIELD,ATTERCLIFFE"
replace GB63_reelected = 1 if GB63_district_name == "SHEFFIELD,BRIGHTSIDE"
replace GB63_reelected = 1 if GB63_district_name == "SHEFFIELD,HALLAM"
replace GB63_reelected = 1 if GB63_district_name == "SHEFFIELD,HEELEY"
replace GB63_reelected = 1 if GB63_district_name == "SHEFFIELD,HILLSBOROUGH"
replace GB63_reelected = 1 if GB63_district_name == "SHEFFIELD,PARK"
replace GB63_reelected = 1 if GB63_district_name == "SHIPLEY"
replace GB63_reelected = 1 if GB63_district_name == "SHOREDITCH AND FINSBURY"
replace GB63_reelected = 1 if GB63_district_name == "SHREWSBURY"
replace GB63_reelected = 1 if GB63_district_name == "SKIPTON"
replace GB63_reelected = 0 if GB63_district_name == "SMETHWICK"
replace GB63_reelected = 1 if GB63_district_name == "SOLIHULL"
replace GB63_reelected = 1 if GB63_district_name == "NORTH SOMERSET"
replace GB63_reelected = 1 if GB63_district_name == "SOUTHALL"
replace GB63_reelected = 1 if GB63_district_name == "SOUTHAMPTON,ITCHEN"
replace GB63_reelected = 1 if GB63_district_name == "SOUTHAMPTON,TEST"
replace GB63_reelected = 1 if GB63_district_name == "SOUTHEND EAST"
replace GB63_reelected = 1 if GB63_district_name == "SOUTHEND WEST"
replace GB63_reelected = 1 if GB63_district_name == "SOUTH FYLDE"
replace GB63_reelected = 1 if GB63_district_name == "SOUTHGATE"
replace GB63_reelected = 1 if GB63_district_name == "SOUTHPORT"
replace GB63_reelected = 1 if GB63_district_name == "SOUTH SHIELDS"
replace GB63_reelected = 1 if GB63_district_name == "SOUTHWARK"
replace GB63_reelected = 1 if GB63_district_name == "SOWERBY"
replace GB63_reelected = 1 if GB63_district_name == "SPELTHORNE"
replace GB63_reelected = 1 if GB63_district_name == "STAFFORD AND STONE"
replace GB63_reelected = 1 if GB63_district_name == "STALYBRIDGE AND HYDE"
replace GB63_reelected = 1 if GB63_district_name == "STEPNEY"
replace GB63_reelected = 1 if GB63_district_name == "STIRLING AND FALKIRK"
replace GB63_reelected = 1 if GB63_district_name == "CLACKMANNAN AND EAST STIRLINGSHIRE"
replace GB63_reelected = 1 if GB63_district_name == "WEST STIRLINGSHIRE"
replace GB63_reelected = 0 if GB63_district_name == "STOCKPORT NORTH"
replace GB63_reelected = 0 if GB63_district_name == "STOCKPORT SOUTH"
replace GB63_reelected = 1 if GB63_district_name == "STOCKTON-ON-TEES"
replace GB63_reelected = 1 if GB63_district_name == "STOKE NEWINGTON AND HACKNEY NORTH"
replace GB63_reelected = 1 if GB63_district_name == "STOKE ON TRENT,CENTRAL"
replace GB63_reelected = 1 if GB63_district_name == "STOKE ON TRENT,NORTH"
replace GB63_reelected = 1 if GB63_district_name == "STOKE ON TRENT,SOUTH"
replace GB63_reelected = 1 if GB63_district_name == "STRATFORD"
replace GB63_reelected = 1 if GB63_district_name == "STRETFORD"
replace GB63_reelected = 1 if GB63_district_name == "STROUD"
replace GB63_reelected = 1 if GB63_district_name == "SUDBURY AND WOODBRIDGE"
replace GB63_reelected = 1 if GB63_district_name == "SUNDERLAND NORTH"
replace GB63_reelected = 0 if GB63_district_name == "SUNDERLAND SOUTH"
replace GB63_reelected = 1 if GB63_district_name == "SURBITON"
replace GB63_reelected = 1 if GB63_district_name == "EAST SURREY"
replace GB63_reelected = 1 if GB63_district_name == "SUTTON AND CHEAM"
replace GB63_reelected = 1 if GB63_district_name == "SUTTON COLDFIELD"
replace GB63_reelected = 1 if GB63_district_name == "SWANSEA,EAST"
replace GB63_reelected = 0 if GB63_district_name == "SWANSEA,WEST"
replace GB63_reelected = 1 if GB63_district_name == "SWINDON"
replace GB63_reelected = 1 if GB63_district_name == "TAUNTON"
replace GB63_reelected = 1 if GB63_district_name == "TAVISTOCK"
replace GB63_reelected = 1 if GB63_district_name == "THIRSK AND MALTON"
replace GB63_reelected = 1 if GB63_district_name == "THURROCK"
replace GB63_reelected = 1 if GB63_district_name == "TIVERTON"
replace GB63_reelected = 1 if GB63_district_name == "TONBRIDGE"
replace GB63_reelected = 1 if GB63_district_name == "TORQUAY"
replace GB63_reelected = 1 if GB63_district_name == "TORRINGTON"
replace GB63_reelected = 1 if GB63_district_name == "TOTNES"
replace GB63_reelected = 1 if GB63_district_name == "TOTTENHAM"
replace GB63_reelected = 1 if GB63_district_name == "TRURO"
replace GB63_reelected = 1 if GB63_district_name == "TWICKENHAM"
replace GB63_reelected = 1 if GB63_district_name == "TYNEMOUTH"
replace GB63_reelected = 1 if GB63_district_name == "ULSTER MID"
replace GB63_reelected = 1 if GB63_district_name == "UXBRIDGE"
replace GB63_reelected = 1 if GB63_district_name == "WAKEFIELD"
replace GB63_reelected = 1 if GB63_district_name == "WALLASEY"
replace GB63_reelected = 1 if GB63_district_name == "WALLSEND"
replace GB63_reelected = 1 if GB63_district_name == "WALSALL,NORTH"
replace GB63_reelected = 1 if GB63_district_name == "WALSALL,SOUTH"
replace GB63_reelected = 1 if GB63_district_name == "WALTHAMSTOW,EAST"
replace GB63_reelected = 1 if GB63_district_name == "WALTHAMSTOW,WEST"
replace GB63_reelected = 0 if GB63_district_name == "WANDSWORTH,CENTRAL"
replace GB63_reelected = 0 if GB63_district_name == "WANDSWORTH,CLAPHAM"
replace GB63_reelected = 0 if GB63_district_name == "WANDSWORTH,PUTNEY"
replace GB63_reelected = 1 if GB63_district_name == "WANDSWORTH,STREATHAM"
replace GB63_reelected = 1 if GB63_district_name == "WANSTEAD AND WOODFORD"
replace GB63_reelected = 1 if GB63_district_name == "WARRINGTON"
replace GB63_reelected = 1 if GB63_district_name == "WARWICK AND LEAMINGTON"
replace GB63_reelected = 0 if GB63_district_name == "WATFORD"
replace GB63_reelected = 1 if GB63_district_name == "WEDNESBURY"
replace GB63_reelected = 0 if GB63_district_name == "WELLINGBOROUGH"
replace GB63_reelected = 1 if GB63_district_name == "WELLS"
replace GB63_reelected = 1 if GB63_district_name == "WEMBLEY NORTH"
replace GB63_reelected = 1 if GB63_district_name == "WEMBLEY SOUTH"
replace GB63_reelected = 1 if GB63_district_name == "WEST BROMWICH"
replace GB63_reelected = 1 if GB63_district_name == "WESTBURY"
replace GB63_reelected = 1 if GB63_district_name == "WESTERN ISLES"
replace GB63_reelected = 1 if GB63_district_name == "WEST HAM NORTH"
replace GB63_reelected = 1 if GB63_district_name == "WEST HAM SOUTH"
replace GB63_reelected = 1 if GB63_district_name == "WESTHOUGHTON"
replace GB63_reelected = 1 if GB63_district_name == "WEST LOTHIAN"
replace GB63_reelected = 1 if GB63_district_name == "WESTMORLAND"
replace GB63_reelected = 1 if GB63_district_name == "WESTON SUPER MARE"
replace GB63_reelected = 1 if GB63_district_name == "WHITEHAVEN"
replace GB63_reelected = 1 if GB63_district_name == "WIDNES"
replace GB63_reelected = 1 if GB63_district_name == "WIGAN"
replace GB63_reelected = 0 if GB63_district_name == "WILLESDEN,EAST"
replace GB63_reelected = 1 if GB63_district_name == "WILLESDEN,WEST"
replace GB63_reelected = 1 if GB63_district_name == "WIMBLEDON"
replace GB63_reelected = 1 if GB63_district_name == "WINCHESTER"
replace GB63_reelected = 1 if GB63_district_name == "WINDSOR"
replace GB63_reelected = 1 if GB63_district_name == "WIRRAL"
replace GB63_reelected = 1 if GB63_district_name == "WOKING"
replace GB63_reelected = 1 if GB63_district_name == "WOKINGHAM"
replace GB63_reelected = 1 if GB63_district_name == "WOLVERHAMPTON NORTH EAST"
replace GB63_reelected = 1 if GB63_district_name == "WOLVERHAMPTON SOUTH WEST"
replace GB63_reelected = 1 if GB63_district_name == "WOOD GREEN"
replace GB63_reelected = 1 if GB63_district_name == "WOOLWICH,EAST"
replace GB63_reelected = 0 if GB63_district_name == "WOOLWICH,WEST"
replace GB63_reelected = 1 if GB63_district_name == "WORCESTER"
replace GB63_reelected = 1 if GB63_district_name == "SOUTH WORCESTERSHIRE"
replace GB63_reelected = 1 if GB63_district_name == "WORKINGTON"
replace GB63_reelected = 1 if GB63_district_name == "WORTHING"
replace GB63_reelected = 1 if GB63_district_name == "THE WREKIN"
replace GB63_reelected = 1 if GB63_district_name == "WREXHAM"
replace GB63_reelected = 1 if GB63_district_name == "WYCOMBE"
replace GB63_reelected = 1 if GB63_district_name == "YARMOUTH"
replace GB63_reelected = 1 if GB63_district_name == "YEOVIL"
replace GB63_reelected = 1 if GB63_district_name == "YORK"


**********************************************************
** DISTRICT OUTCOMES: 1964 GENERAL ELECTION (1964 WAVE) **
**********************************************************

* Note: 1 = Conservative, 2 = Labour, 3 = Liberal, 4 = Nationalists, 5 = Other
							
gen GB64_district_outcome = .

replace GB64_district_outcome = 2 if GB64_district_name == "ABERAVON"
replace GB64_district_outcome = 2 if GB64_district_name == "ABERDARE"
replace GB64_district_outcome = 2 if GB64_district_name == "ABERDEEN NORTH"
replace GB64_district_outcome = 1 if GB64_district_name == "ABERDEEN SOUTH"
replace GB64_district_outcome = 1 if GB64_district_name == "EAST ABERDEENSHIRE"
replace GB64_district_outcome = 1 if GB64_district_name == "WEST ABERDEENSHIRE"
replace GB64_district_outcome = 2 if GB64_district_name == "ABERTILLERY"
replace GB64_district_outcome = 1 if GB64_district_name == "ABINGDON"
replace GB64_district_outcome = 2 if GB64_district_name == "ACCRINGTON"
replace GB64_district_outcome = 2 if GB64_district_name == "ACTON"
replace GB64_district_outcome = 1 if GB64_district_name == "ALDERSHOT"
replace GB64_district_outcome = 1 if GB64_district_name == "ALTRINCHAM AND SALE"
replace GB64_district_outcome = 2 if GB64_district_name == "ANGLESEY"
replace GB64_district_outcome = 1 if GB64_district_name == "NORTH ANGUS AND MEARNS"
replace GB64_district_outcome = 1 if GB64_district_name == "SOUTH ANGUS"
replace GB64_district_outcome = 1 if GB64_district_name == "ANTRIM NORTH"
replace GB64_district_outcome = 1 if GB64_district_name == "ANTRIM SOUTH"
replace GB64_district_outcome = 1 if GB64_district_name == "ARGYLL"
replace GB64_district_outcome = 1 if GB64_district_name == "ARMAGH"
replace GB64_district_outcome = 1 if GB64_district_name == "ARUNDEL AND SHOREHAM"
replace GB64_district_outcome = 2 if GB64_district_name == "ASHFIELD"
replace GB64_district_outcome = 1 if GB64_district_name == "ASHFORD"
replace GB64_district_outcome = 2 if GB64_district_name == "ASHTON UNDER LYNE"
replace GB64_district_outcome = 1 if GB64_district_name == "AYLESBURY"
replace GB64_district_outcome = 1 if GB64_district_name == "AYR"
replace GB64_district_outcome = 2 if GB64_district_name == "CENTRAL AYRSHIRE"
replace GB64_district_outcome = 1 if GB64_district_name == "BUTE AND NORTH AYRSHIRE"
replace GB64_district_outcome = 2 if GB64_district_name == "SOUTH AYRSHIRE"
replace GB64_district_outcome = 1 if GB64_district_name == "BANBURY"
replace GB64_district_outcome = 1 if GB64_district_name == "BANFF"
replace GB64_district_outcome = 2 if GB64_district_name == "BARKING"
replace GB64_district_outcome = 1 if GB64_district_name == "BARKSTON ASH"
replace GB64_district_outcome = 1 if GB64_district_name == "BARNET"
replace GB64_district_outcome = 2 if GB64_district_name == "BARNSLEY"
replace GB64_district_outcome = 2 if GB64_district_name == "BARONS COURT"
replace GB64_district_outcome = 2 if GB64_district_name == "BARROW IN FURNESS"
replace GB64_district_outcome = 1 if GB64_district_name == "BARRY"
replace GB64_district_outcome = 1 if GB64_district_name == "BASINGSTOKE"
replace GB64_district_outcome = 2 if GB64_district_name == "BASSETLAW"
replace GB64_district_outcome = 1 if GB64_district_name == "BATH"
replace GB64_district_outcome = 2 if GB64_district_name == "BATLEY AND MORLEY"
replace GB64_district_outcome = 2 if GB64_district_name == "BATTERSEA,NORTH"
replace GB64_district_outcome = 2 if GB64_district_name == "BATTERSEA,SOUTH"
replace GB64_district_outcome = 1 if GB64_district_name == "BEBINGTON"
replace GB64_district_outcome = 1 if GB64_district_name == "BECKENHAM"
replace GB64_district_outcome = 1 if GB64_district_name == "BEDFORD"
replace GB64_district_outcome = 1 if GB64_district_name == "MID-BEDFORDSHIRE"
replace GB64_district_outcome = 1 if GB64_district_name == "SOUTH BEDFORDSHIRE"
replace GB64_district_outcome = 2 if GB64_district_name == "BEDWELLTY"
replace GB64_district_outcome = 1 if GB64_district_name == "BELFAST EAST"
replace GB64_district_outcome = 1 if GB64_district_name == "BELFAST NORTH"
replace GB64_district_outcome = 1 if GB64_district_name == "BELFAST SOUTH"
replace GB64_district_outcome = 1 if GB64_district_name == "BELFAST WEST"
replace GB64_district_outcome = 2 if GB64_district_name == "BELPER"
replace GB64_district_outcome = 2 if GB64_district_name == "BERMONDSEY"
replace GB64_district_outcome = 1 if GB64_district_name == "BERWICK AND EAST LOTHIAN"
replace GB64_district_outcome = 1 if GB64_district_name == "BERWICK UPON TWEED"
replace GB64_district_outcome = 2 if GB64_district_name == "BETHNAL GREEN"
replace GB64_district_outcome = 1 if GB64_district_name == "BEXLEY"
replace GB64_district_outcome = 1 if GB64_district_name == "BILLERICAY"
replace GB64_district_outcome = 2 if GB64_district_name == "BILSTON"
replace GB64_district_outcome = 2 if GB64_district_name == "BIRKENHEAD"
replace GB64_district_outcome = 2 if GB64_district_name == "BIRMINGHAM,ALL SAINTS"
replace GB64_district_outcome = 2 if GB64_district_name == "BIRMINGHAM,ASTON"
replace GB64_district_outcome = 1 if GB64_district_name == "BIRMINGHAM,EDGBASTON"
replace GB64_district_outcome = 1 if GB64_district_name == "BIRMINGHAM,HALL GREEN"
replace GB64_district_outcome = 1 if GB64_district_name == "BIRMINGHAM,HANDSWORTH"
replace GB64_district_outcome = 2 if GB64_district_name == "BIRMINGHAM,LADYWOOD"
replace GB64_district_outcome = 2 if GB64_district_name == "BIRMINGHAM,NORTHFIED"
replace GB64_district_outcome = 1 if GB64_district_name == "BIRMINGHAM,PERRY BARR"
replace GB64_district_outcome = 1 if GB64_district_name == "BIRMINGHAM,SELLY OAK"
replace GB64_district_outcome = 2 if GB64_district_name == "BIRMINGHAM,SMALL HEATH"
replace GB64_district_outcome = 2 if GB64_district_name == "BIRMINGHAM,SPARKBROOK"
replace GB64_district_outcome = 2 if GB64_district_name == "BIRMINGHAM,STECHFORD"
replace GB64_district_outcome = 2 if GB64_district_name == "BIRMINGHAM,YARDLEY"
replace GB64_district_outcome = 2 if GB64_district_name == "BISHOP AUCKLAND"
replace GB64_district_outcome = 2 if GB64_district_name == "BLACKBURN"
replace GB64_district_outcome = 1 if GB64_district_name == "BLACKPOOL,NORTH"
replace GB64_district_outcome = 1 if GB64_district_name == "BLACKPOOL,SOUTH"
replace GB64_district_outcome = 2 if GB64_district_name == "BLAYDON"
replace GB64_district_outcome = 2 if GB64_district_name == "BLYTH"
replace GB64_district_outcome = 3 if GB64_district_name == "BODMIN"
replace GB64_district_outcome = 2 if GB64_district_name == "BOLSOVER"
replace GB64_district_outcome = 2 if GB64_district_name == "BOLTON,EAST"
replace GB64_district_outcome = 2 if GB64_district_name == "BOLTON,WEST"
replace GB64_district_outcome = 2 if GB64_district_name == "BOOTLE"
replace GB64_district_outcome = 2 if GB64_district_name == "BOSWORTH"
replace GB64_district_outcome = 2 if GB64_district_name == "BOTHWELL"
replace GB64_district_outcome = 1 if GB64_district_name == "BOURNEMOUTH EAST AND CHRISTCHURCH"
replace GB64_district_outcome = 1 if GB64_district_name == "BOURNEMOUTH WEST"
replace GB64_district_outcome = 2 if GB64_district_name == "BRADFORD,EAST"
replace GB64_district_outcome = 2 if GB64_district_name == "BRADFORD,NORTH"
replace GB64_district_outcome = 2 if GB64_district_name == "BRADFORD,SOUTH"
replace GB64_district_outcome = 1 if GB64_district_name == "BRADFORD,WEST"
replace GB64_district_outcome = 2 if GB64_district_name == "BRECON AND RADNOR"
replace GB64_district_outcome = 1 if GB64_district_name == "BRENTFORD AND CHISWICK"
replace GB64_district_outcome = 1 if GB64_district_name == "BRIDGWATER"
replace GB64_district_outcome = 1 if GB64_district_name == "BRIDLINGTON"
replace GB64_district_outcome = 1 if GB64_district_name == "BRIERLEY HILL"
replace GB64_district_outcome = 2 if GB64_district_name == "BRIGG"
replace GB64_district_outcome = 2 if GB64_district_name == "BRIGHOUSE AND SPENBOROUGH"
replace GB64_district_outcome = 2 if GB64_district_name == "BRIGHTON,KEMPTOWN"
replace GB64_district_outcome = 1 if GB64_district_name == "BRIGHTON,PAVILION"
replace GB64_district_outcome = 2 if GB64_district_name == "BRISTOL,CENTRAL"
replace GB64_district_outcome = 1 if GB64_district_name == "BRISTOL,NORTH EAST"
replace GB64_district_outcome = 1 if GB64_district_name == "BRISTOL,NORTH WEST"
replace GB64_district_outcome = 2 if GB64_district_name == "BRISTOL,SOUTH"
replace GB64_district_outcome = 2 if GB64_district_name == "BRISTOL,SOUTH EAST"
replace GB64_district_outcome = 1 if GB64_district_name == "BRISTOL,WEST"
replace GB64_district_outcome = 1 if GB64_district_name == "BROMLEY"
replace GB64_district_outcome = 1 if GB64_district_name == "BROMSGROVE"
replace GB64_district_outcome = 2 if GB64_district_name == "BUCKINGHAM"
replace GB64_district_outcome = 1 if GB64_district_name == "SOUTH BUCKINGHAMSHIRE"
replace GB64_district_outcome = 2 if GB64_district_name == "BURNLEY"
replace GB64_district_outcome = 1 if GB64_district_name == "BURTON"
replace GB64_district_outcome = 2 if GB64_district_name == "BURY AND RADCLIFFE"
replace GB64_district_outcome = 1 if GB64_district_name == "BURY ST.EDMUNDS"
replace GB64_district_outcome = 2 if GB64_district_name == "CAERNARVON"
replace GB64_district_outcome = 2 if GB64_district_name == "CAERPHILLY"
replace GB64_district_outcome = 3 if GB64_district_name == "CAITHNESS AND SUTHERLAND"
replace GB64_district_outcome = 2 if GB64_district_name == "CAMBERWELL,DULWICH"
replace GB64_district_outcome = 2 if GB64_district_name == "CAMBERWELL,PECKHAM"
replace GB64_district_outcome = 1 if GB64_district_name == "CAMBRIDGE"
replace GB64_district_outcome = 1 if GB64_district_name == "CAMBRIDGESHIRE"
replace GB64_district_outcome = 2 if GB64_district_name == "CANNOCK"
replace GB64_district_outcome = 1 if GB64_district_name == "CANTERBURY"
replace GB64_district_outcome = 1 if GB64_district_name == "CARDIFF,NORTH"
replace GB64_district_outcome = 2 if GB64_district_name == "CARDIFF,SOUTH EAST"
replace GB64_district_outcome = 2 if GB64_district_name == "CARDIFF,WEST"
replace GB64_district_outcome = 3 if GB64_district_name == "CARDIGAN"
replace GB64_district_outcome = 2 if GB64_district_name == "CARLISLE"
replace GB64_district_outcome = 1 if GB64_district_name == "CARLTON"
replace GB64_district_outcome = 2 if GB64_district_name == "CARMARTHEN"
replace GB64_district_outcome = 1 if GB64_district_name == "CARSHALTON"
replace GB64_district_outcome = 1 if GB64_district_name == "CHEADLE"
replace GB64_district_outcome = 1 if GB64_district_name == "CHELMSFORD"
replace GB64_district_outcome = 1 if GB64_district_name == "CHELSEA"
replace GB64_district_outcome = 1 if GB64_district_name == "CHELTENHAM"
replace GB64_district_outcome = 1 if GB64_district_name == "CHERTSEY"
replace GB64_district_outcome = 1 if GB64_district_name == "CITY OF CHESTER"
replace GB64_district_outcome = 2 if GB64_district_name == "CHESTERFIELD"
replace GB64_district_outcome = 2 if GB64_district_name == "CHESTER-LE-STREET"
replace GB64_district_outcome = 1 if GB64_district_name == "CHICHESTER"
replace GB64_district_outcome = 1 if GB64_district_name == "CHIGWELL"
replace GB64_district_outcome = 1 if GB64_district_name == "CHIPPENHAM"
replace GB64_district_outcome = 1 if GB64_district_name == "CHISLEHURST"
replace GB64_district_outcome = 2 if GB64_district_name == "CHORLEY"
replace GB64_district_outcome = 1 if GB64_district_name == "CIRENCESTER AND TEWKESBURY"
replace GB64_district_outcome = 2 if GB64_district_name == "CLEVELAND"
replace GB64_district_outcome = 1 if GB64_district_name == "CLITHEROE"
replace GB64_district_outcome = 2 if GB64_district_name == "COATBRIDGE AND AIRDRIE"
replace GB64_district_outcome = 1 if GB64_district_name == "COLCHESTER"
replace GB64_district_outcome = 2 if GB64_district_name == "COLNE VALLEY"
replace GB64_district_outcome = 2 if GB64_district_name == "CONSETT"
replace GB64_district_outcome = 1 if GB64_district_name == "CONWAY"
replace GB64_district_outcome = 1 if GB64_district_name == "NORTH CORNWALL"
replace GB64_district_outcome = 2 if GB64_district_name == "COVENTRY,EAST"
replace GB64_district_outcome = 2 if GB64_district_name == "COVENTRY,NORTH"
replace GB64_district_outcome = 2 if GB64_district_name == "COVENTRY,SOUTH"
replace GB64_district_outcome = 2 if GB64_district_name == "CREWE"
replace GB64_district_outcome = 1 if GB64_district_name == "CROSBY"
replace GB64_district_outcome = 1 if GB64_district_name == "CROYDON,NORTH EAST"
replace GB64_district_outcome = 1 if GB64_district_name == "CROYDON,NORTH WEST"
replace GB64_district_outcome = 1 if GB64_district_name == "CROYDON,SOUTH"
replace GB64_district_outcome = 2 if GB64_district_name == "DAGENHAM"
replace GB64_district_outcome = 2 if GB64_district_name == "DARLINGTON"
replace GB64_district_outcome = 2 if GB64_district_name == "DARTFORD"
replace GB64_district_outcome = 1 if GB64_district_name == "DARWEN"
replace GB64_district_outcome = 2 if GB64_district_name == "DEARNE VALLEY"
replace GB64_district_outcome = 1 if GB64_district_name == "DENBIGH"
replace GB64_district_outcome = 2 if GB64_district_name == "DEPTFORD"
replace GB64_district_outcome = 2 if GB64_district_name == "DERBY NORTH"
replace GB64_district_outcome = 2 if GB64_district_name == "DERBY SOUTH"
replace GB64_district_outcome = 2 if GB64_district_name == "NORTH EAST DERBYSHIRE"
replace GB64_district_outcome = 2 if GB64_district_name == "SOUTH EAST DERBYSHIRE"
replace GB64_district_outcome = 1 if GB64_district_name == "WEST DERBYSHIRE"
replace GB64_district_outcome = 1 if GB64_district_name == "DEVIZES"
replace GB64_district_outcome = 3 if GB64_district_name == "NORTH DEVON"
replace GB64_district_outcome = 2 if GB64_district_name == "DEWSBURY"
replace GB64_district_outcome = 2 if GB64_district_name == "DONCASTER"
replace GB64_district_outcome = 2 if GB64_district_name == "DON VALLEY"
replace GB64_district_outcome = 1 if GB64_district_name == "DORKING"
replace GB64_district_outcome = 1 if GB64_district_name == "NORTH DORSET"
replace GB64_district_outcome = 1 if GB64_district_name == "SOUTH DORSET"
replace GB64_district_outcome = 1 if GB64_district_name == "WEST DORSET"
replace GB64_district_outcome = 2 if GB64_district_name == "DOVER"
replace GB64_district_outcome = 1 if GB64_district_name == "DOWN NORTH"
replace GB64_district_outcome = 1 if GB64_district_name == "DOWN SOUTH"
replace GB64_district_outcome = 2 if GB64_district_name == "DUDLEY"
replace GB64_district_outcome = 1 if GB64_district_name == "DUMFRIES"
replace GB64_district_outcome = 2 if GB64_district_name == "EAST DUNBARTONSHIRE"
replace GB64_district_outcome = 2 if GB64_district_name == "WEST DUNBARTONSHIRE"
replace GB64_district_outcome = 2 if GB64_district_name == "DUNDEE EAST"
replace GB64_district_outcome = 2 if GB64_district_name == "DUNDEE WEST"
replace GB64_district_outcome = 2 if GB64_district_name == "DUNFERMLINE BURGHS"
replace GB64_district_outcome = 2 if GB64_district_name == "DURHAM"
replace GB64_district_outcome = 2 if GB64_district_name == "NORTH WEST DURHAM"
replace GB64_district_outcome = 2 if GB64_district_name == "EALING,NORTH"
replace GB64_district_outcome = 1 if GB64_district_name == "EALING,SOUTH"
replace GB64_district_outcome = 2 if GB64_district_name == "EASINGTON"
replace GB64_district_outcome = 1 if GB64_district_name == "EASTBOURNE"
replace GB64_district_outcome = 1 if GB64_district_name == "EAST GRINSTEAD"
replace GB64_district_outcome = 2 if GB64_district_name == "EAST HAM,NORTH"
replace GB64_district_outcome = 2 if GB64_district_name == "EAST HAM,SOUTH"
replace GB64_district_outcome = 1 if GB64_district_name == "EASTLEIGH"
replace GB64_district_outcome = 2 if GB64_district_name == "EBBW VALE"
replace GB64_district_outcome = 2 if GB64_district_name == "ECCLES"
replace GB64_district_outcome = 2 if GB64_district_name == "EDINBURGH CENTRAL"
replace GB64_district_outcome = 2 if GB64_district_name == "EDINBURGH EAST"
replace GB64_district_outcome = 2 if GB64_district_name == "EDINBURGH LEITH"
replace GB64_district_outcome = 1 if GB64_district_name == "EDINBURGH NORTH"
replace GB64_district_outcome = 1 if GB64_district_name == "EDINBURGH PENTLANDS"
replace GB64_district_outcome = 1 if GB64_district_name == "EDINBURGH SOUTH"
replace GB64_district_outcome = 1 if GB64_district_name == "EDINBURGH WEST"
replace GB64_district_outcome = 2 if GB64_district_name == "EDMONTON"
replace GB64_district_outcome = 2 if GB64_district_name == "ENFIELD,EAST"
replace GB64_district_outcome = 1 if GB64_district_name == "ENFIELD,WEST"
replace GB64_district_outcome = 2 if GB64_district_name == "EPPING"
replace GB64_district_outcome = 1 if GB64_district_name == "EPSOM"
replace GB64_district_outcome = 2 if GB64_district_name == "ERITH AND CRAYFORD"
replace GB64_district_outcome = 1 if GB64_district_name == "ESHER"
replace GB64_district_outcome = 1 if GB64_district_name == "SOUTH EAST ESSEX"
replace GB64_district_outcome = 1 if GB64_district_name == "ETON AND SLOUGH"
replace GB64_district_outcome = 1 if GB64_district_name == "EXETER"
replace GB64_district_outcome = 1 if GB64_district_name == "EYE"
replace GB64_district_outcome = 2 if GB64_district_name == "FALMOUTH AND CAMBORNE"
replace GB64_district_outcome = 1 if GB64_district_name == "FARNHAM"
replace GB64_district_outcome = 2 if GB64_district_name == "FARNWORTH"
replace GB64_district_outcome = 2 if GB64_district_name == "FAVERSHAM"
replace GB64_district_outcome = 2 if GB64_district_name == "FELTHAM"
replace GB64_district_outcome = 1 if GB64_district_name == "FERMANAGH AND SOUTH TYRONE"
replace GB64_district_outcome = 1 if GB64_district_name == "EAST FIFE"
replace GB64_district_outcome = 2 if GB64_district_name == "WEST FIFE"
replace GB64_district_outcome = 1 if GB64_district_name == "FINCHLEY"
replace GB64_district_outcome = 2 if GB64_district_name == "EAST FLINTSHIRE"
replace GB64_district_outcome = 1 if GB64_district_name == "WEST FLINTSHIRE"
replace GB64_district_outcome = 1 if GB64_district_name == "FOLKESTONE AND HYTHE"
replace GB64_district_outcome = 2 if GB64_district_name == "FULHAM"
replace GB64_district_outcome = 1 if GB64_district_name == "GAINSBOROUGH"
replace GB64_district_outcome = 1 if GB64_district_name == "GALLOWAY"
replace GB64_district_outcome = 2 if GB64_district_name == "GATESHEAD EAST"
replace GB64_district_outcome = 2 if GB64_district_name == "GATESHEAD WEST"
replace GB64_district_outcome = 1 if GB64_district_name == "GILLINGHAM"
replace GB64_district_outcome = 2 if GB64_district_name == "GLASGOW BRIDGETON"
replace GB64_district_outcome = 1 if GB64_district_name == "GLASGOW CATHCART"
replace GB64_district_outcome = 2 if GB64_district_name == "GLASGOW CENTRAL"
replace GB64_district_outcome = 2 if GB64_district_name == "GLASGOW CRAIGTON"
replace GB64_district_outcome = 2 if GB64_district_name == "GLASGOW GORBALS"
replace GB64_district_outcome = 2 if GB64_district_name == "GLASGOW GOVAN"
replace GB64_district_outcome = 1 if GB64_district_name == "GLASGOW HILLHEAD"
replace GB64_district_outcome = 2 if GB64_district_name == "GLASGOW KELVINGROVE"
replace GB64_district_outcome = 2 if GB64_district_name == "GLASGOW MARYHILL"
replace GB64_district_outcome = 2 if GB64_district_name == "GLASGOW POLLOK"
replace GB64_district_outcome = 2 if GB64_district_name == "GLASGOW PROVAN"
replace GB64_district_outcome = 2 if GB64_district_name == "GLASGOW SCOTSTOUN"
replace GB64_district_outcome = 2 if GB64_district_name == "GLASGOW SHETTLESTON"
replace GB64_district_outcome = 2 if GB64_district_name == "GLASGOW SPRINGBURN"
replace GB64_district_outcome = 2 if GB64_district_name == "GLASGOW WOODSIDE"
replace GB64_district_outcome = 2 if GB64_district_name == "GLOUCESTER"
replace GB64_district_outcome = 1 if GB64_district_name == "SOUTH GLOUCESTERSHIRE"
replace GB64_district_outcome = 2 if GB64_district_name == "WEST GLOUCESTERSHIRE"
replace GB64_district_outcome = 2 if GB64_district_name == "GOOLE"
replace GB64_district_outcome = 1 if GB64_district_name == "GOSPORT AND FAREHAM"
replace GB64_district_outcome = 2 if GB64_district_name == "GOWER"
replace GB64_district_outcome = 1 if GB64_district_name == "GRANTHAM"
replace GB64_district_outcome = 2 if GB64_district_name == "GRAVESEND"
replace GB64_district_outcome = 2 if GB64_district_name == "GREENOCK"
replace GB64_district_outcome = 2 if GB64_district_name == "GREENWICH"
replace GB64_district_outcome = 2 if GB64_district_name == "GRIMSBY"
replace GB64_district_outcome = 1 if GB64_district_name == "GUILDFORD"
replace GB64_district_outcome = 2 if GB64_district_name == "HACKNEY CENTRAL"
replace GB64_district_outcome = 2 if GB64_district_name == "HALIFAX"
replace GB64_district_outcome = 1 if GB64_district_name == "HALTEMPRICE"
replace GB64_district_outcome = 2 if GB64_district_name == "HAMILTON"
replace GB64_district_outcome = 2 if GB64_district_name == "HAMMERSMITH NORTH"
replace GB64_district_outcome = 1 if GB64_district_name == "HAMPSTEAD"
replace GB64_district_outcome = 1 if GB64_district_name == "HARBOROUGH"
replace GB64_district_outcome = 1 if GB64_district_name == "HARROGATE"
replace GB64_district_outcome = 1 if GB64_district_name == "HARROW,CENTRAL"
replace GB64_district_outcome = 1 if GB64_district_name == "HARROW,EAST"
replace GB64_district_outcome = 1 if GB64_district_name == "HARROW,WEST"
replace GB64_district_outcome = 2 if GB64_district_name == "THE HARTLEPOOLS"
replace GB64_district_outcome = 1 if GB64_district_name == "HARWICH"
replace GB64_district_outcome = 1 if GB64_district_name == "HASTINGS"
replace GB64_district_outcome = 2 if GB64_district_name == "HAYES AND HARLINGTON"
replace GB64_district_outcome = 1 if GB64_district_name == "HEMEL HEMPSTEAD"
replace GB64_district_outcome = 2 if GB64_district_name == "HEMSWORTH"
replace GB64_district_outcome = 1 if GB64_district_name == "HENDON,NORTH"
replace GB64_district_outcome = 1 if GB64_district_name == "HENDON,SOUTH"
replace GB64_district_outcome = 1 if GB64_district_name == "HENLEY"
replace GB64_district_outcome = 1 if GB64_district_name == "HEREFORD"
replace GB64_district_outcome = 1 if GB64_district_name == "HERTFORD"
replace GB64_district_outcome = 1 if GB64_district_name == "EAST HERTFORDSHIRE"
replace GB64_district_outcome = 1 if GB64_district_name == "SOUTH WEST HERTFORDSHIRE"
replace GB64_district_outcome = 1 if GB64_district_name == "HESTON AND ISLEWORTH"
replace GB64_district_outcome = 1 if GB64_district_name == "HEXHAM"
replace GB64_district_outcome = 2 if GB64_district_name == "HEYWOOD AND ROYTON"
replace GB64_district_outcome = 1 if GB64_district_name == "HIGH PEAK"
replace GB64_district_outcome = 2 if GB64_district_name == "HITCHIN"
replace GB64_district_outcome = 2 if GB64_district_name == "HOLBORN AND ST.PANCRAS"
replace GB64_district_outcome = 1 if GB64_district_name == "HOLLAND WITH BOSTON"
replace GB64_district_outcome = 1 if GB64_district_name == "HONITON"
replace GB64_district_outcome = 1 if GB64_district_name == "HORNCASTLE"
replace GB64_district_outcome = 1 if GB64_district_name == "HORNCHURCH"
replace GB64_district_outcome = 1 if GB64_district_name == "HORNSEY"
replace GB64_district_outcome = 1 if GB64_district_name == "HORSHAM"
replace GB64_district_outcome = 2 if GB64_district_name == "HOUGHTON-LE-SPRING"
replace GB64_district_outcome = 1 if GB64_district_name == "HOVE"
replace GB64_district_outcome = 1 if GB64_district_name == "HOWDEN"
replace GB64_district_outcome = 2 if GB64_district_name == "HUDDERSFIELD,EAST"
replace GB64_district_outcome = 2 if GB64_district_name == "HUDDERSFIELD,WEST"
replace GB64_district_outcome = 1 if GB64_district_name == "HUNTINGDONSHIRE"
replace GB64_district_outcome = 2 if GB64_district_name == "HUYTON"
replace GB64_district_outcome = 1 if GB64_district_name == "ILFORD,NORTH"
replace GB64_district_outcome = 1 if GB64_district_name == "ILFORD,SOUTH"
replace GB64_district_outcome = 2 if GB64_district_name == "ILKESTON"
replace GB64_district_outcome = 2 if GB64_district_name == "INCE"
replace GB64_district_outcome = 3 if GB64_district_name == "INVERNESS"
replace GB64_district_outcome = 2 if GB64_district_name == "IPSWICH"
replace GB64_district_outcome = 1 if GB64_district_name == "THE ISLE OF ELY"
replace GB64_district_outcome = 1 if GB64_district_name == "ISLE OF THANET"
replace GB64_district_outcome = 1 if GB64_district_name == "ISLE OF WIGHT"
replace GB64_district_outcome = 2 if GB64_district_name == "ISLINGTON,EAST"
replace GB64_district_outcome = 2 if GB64_district_name == "ISLINGTON,NORTH"
replace GB64_district_outcome = 2 if GB64_district_name == "ISLINGTON,SOUTH WEST"
replace GB64_district_outcome = 2 if GB64_district_name == "JARROW"
replace GB64_district_outcome = 2 if GB64_district_name == "KEIGHLEY"
replace GB64_district_outcome = 2 if GB64_district_name == "KENSINGTON,NORTH"
replace GB64_district_outcome = 1 if GB64_district_name == "KENSINGTON,SOUTH"
replace GB64_district_outcome = 2 if GB64_district_name == "KETTERING"
replace GB64_district_outcome = 1 if GB64_district_name == "KIDDERMINSTER"
replace GB64_district_outcome = 2 if GB64_district_name == "KILMARNOCK"
replace GB64_district_outcome = 2 if GB64_district_name == "KING'S LYNN"
replace GB64_district_outcome = 2 if GB64_district_name == "KINGSTON-UPON-HULL EAST"
replace GB64_district_outcome = 2 if GB64_district_name == "KINGSTON-UPON-HULL NORTH"
replace GB64_district_outcome = 2 if GB64_district_name == "KINGSTON-UPON-HULL WEST"
replace GB64_district_outcome = 1 if GB64_district_name == "KINGSTON UPON THAMES"
replace GB64_district_outcome = 1 if GB64_district_name == "KINROSS AND WEST PERTHSHIRE"
replace GB64_district_outcome = 2 if GB64_district_name == "KIRKCALDY BURGHS"
replace GB64_district_outcome = 1 if GB64_district_name == "KNUTSFORD"
replace GB64_district_outcome = 2 if GB64_district_name == "LAMBETH,BRIXTON"
replace GB64_district_outcome = 1 if GB64_district_name == "LAMBETH,NORWOOD"
replace GB64_district_outcome = 2 if GB64_district_name == "LAMBETH,VAUXHALL"
replace GB64_district_outcome = 2 if GB64_district_name == "LANARK"
replace GB64_district_outcome = 2 if GB64_district_name == "NORTH LANARKSHIRE"
replace GB64_district_outcome = 1 if GB64_district_name == "LANCASTER"
replace GB64_district_outcome = 2 if GB64_district_name == "LEEDS,EAST"
replace GB64_district_outcome = 1 if GB64_district_name == "LEEDS,NORTH EAST"
replace GB64_district_outcome = 1 if GB64_district_name == "LEEDS,NORTH WEST"
replace GB64_district_outcome = 2 if GB64_district_name == "LEEDS,SOUTH"
replace GB64_district_outcome = 2 if GB64_district_name == "LEEDS,SOUTH EAST"
replace GB64_district_outcome = 2 if GB64_district_name == "LEEDS,WEST"
replace GB64_district_outcome = 2 if GB64_district_name == "LEEK"
replace GB64_district_outcome = 2 if GB64_district_name == "LEICESTER,NORTH EAST"
replace GB64_district_outcome = 2 if GB64_district_name == "LEICESTER,NORTH WEST"
replace GB64_district_outcome = 1 if GB64_district_name == "LEICESTER,SOUTH EAST"
replace GB64_district_outcome = 2 if GB64_district_name == "LEICESTER,SOUTH WEST"
replace GB64_district_outcome = 2 if GB64_district_name == "LEIGH"
replace GB64_district_outcome = 1 if GB64_district_name == "LEOMINSTER"
replace GB64_district_outcome = 1 if GB64_district_name == "LEWES"
replace GB64_district_outcome = 1 if GB64_district_name == "LEWISHAM,NORTH"
replace GB64_district_outcome = 2 if GB64_district_name == "LEWISHAM,SOUTH"
replace GB64_district_outcome = 1 if GB64_district_name == "LEWISHAM,WEST"
replace GB64_district_outcome = 2 if GB64_district_name == "LEYTON"
replace GB64_district_outcome = 2 if GB64_district_name == "LICHFIELD AND TAMWORTH"
replace GB64_district_outcome = 2 if GB64_district_name == "LINCOLN"
replace GB64_district_outcome = 2 if GB64_district_name == "LIVERPOOL,EDGE HILL"
replace GB64_district_outcome = 2 if GB64_district_name == "LIVERPOOL,EXCHANGE"
replace GB64_district_outcome = 1 if GB64_district_name == "LIVERPOOL,GARSTON"
replace GB64_district_outcome = 2 if GB64_district_name == "LIVERPOOL,KIRKDALE"
replace GB64_district_outcome = 2 if GB64_district_name == "LIVERPOOL,SCOTLAND"
replace GB64_district_outcome = 2 if GB64_district_name == "LIVERPOOL,TOXTETH"
replace GB64_district_outcome = 2 if GB64_district_name == "LIVERPOOL,WALTON"
replace GB64_district_outcome = 1 if GB64_district_name == "LIVERPOOL,WAVERTREE"
replace GB64_district_outcome = 2 if GB64_district_name == "LIVERPOOL,WEST DERBY"
replace GB64_district_outcome = 2 if GB64_district_name == "LLANELLI"
replace GB64_district_outcome = 1 if GB64_district_name == "CITIES OF LONDON AND WESTMINSTER"
replace GB64_district_outcome = 1 if GB64_district_name == "LONDONDERRY COUNTY"
replace GB64_district_outcome = 2 if GB64_district_name == "LOUGHBOROUGH"
replace GB64_district_outcome = 1 if GB64_district_name == "LOUTH"
replace GB64_district_outcome = 1 if GB64_district_name == "LOWESTOFT"
replace GB64_district_outcome = 1 if GB64_district_name == "LUDLOW"
replace GB64_district_outcome = 2 if GB64_district_name == "LUTON"
replace GB64_district_outcome = 1 if GB64_district_name == "MACCLESFIELD"
replace GB64_district_outcome = 1 if GB64_district_name == "MAIDSTONE"
replace GB64_district_outcome = 1 if GB64_district_name == "MALDON"
replace GB64_district_outcome = 2 if GB64_district_name == "MANCHESTER,ARDWICK"
replace GB64_district_outcome = 2 if GB64_district_name == "MANCHESTER,BLACKLEY"
replace GB64_district_outcome = 2 if GB64_district_name == "MANCHESTER,CHEETHAM"
replace GB64_district_outcome = 2 if GB64_district_name == "MANCHESTER,EXCHANGE"
replace GB64_district_outcome = 2 if GB64_district_name == "MANCHESTER,GORTON"
replace GB64_district_outcome = 1 if GB64_district_name == "MANCHESTER,MOSS SIDE"
replace GB64_district_outcome = 2 if GB64_district_name == "MANCHESTER,OPENSHAW"
replace GB64_district_outcome = 1 if GB64_district_name == "MANCHESTER,WITHINGTON"
replace GB64_district_outcome = 2 if GB64_district_name == "MANCHESTER,WYTHENSHAWE"
replace GB64_district_outcome = 2 if GB64_district_name == "MANSFIELD"
replace GB64_district_outcome = 1 if GB64_district_name == "MELTON"
replace GB64_district_outcome = 2 if GB64_district_name == "MERIDEN"
replace GB64_district_outcome = 2 if GB64_district_name == "MERIONETH"
replace GB64_district_outcome = 2 if GB64_district_name == "MERTHYR TYDFIL"
replace GB64_district_outcome = 1 if GB64_district_name == "MERTON AND MORDEN"
replace GB64_district_outcome = 2 if GB64_district_name == "MIDDLESBROUGH,EAST"
replace GB64_district_outcome = 2 if GB64_district_name == "MIDDLESBROUGH,WEST"
replace GB64_district_outcome = 1 if GB64_district_name == "MIDDLETON AND PRESTWICK"
replace GB64_district_outcome = 2 if GB64_district_name == "MIDLOTHIAN"
replace GB64_district_outcome = 1 if GB64_district_name == "MITCHAM"
replace GB64_district_outcome = 1 if GB64_district_name == "MONMOUTH"
replace GB64_district_outcome = 3 if GB64_district_name == "MONTGOMERY"
replace GB64_district_outcome = 1 if GB64_district_name == "MORAY AND NAIRN"
replace GB64_district_outcome = 1 if GB64_district_name == "MORECAMBE AND LONSDALE"
replace GB64_district_outcome = 2 if GB64_district_name == "MORPETH"
replace GB64_district_outcome = 2 if GB64_district_name == "MOTHERWELL"
replace GB64_district_outcome = 1 if GB64_district_name == "NANTWICH"
replace GB64_district_outcome = 2 if GB64_district_name == "NEATH"
replace GB64_district_outcome = 2 if GB64_district_name == "NELSON AND COLNE"
replace GB64_district_outcome = 2 if GB64_district_name == "NEWARK"
replace GB64_district_outcome = 1 if GB64_district_name == "NEWBURY"
replace GB64_district_outcome = 2 if GB64_district_name == "NEWCASTLE UNDER LYME"
replace GB64_district_outcome = 2 if GB64_district_name == "NEWCASTLE-UPON-TYNE CENTRAL"
replace GB64_district_outcome = 2 if GB64_district_name == "NEWCASTLE-UPON-TYNE EAST"
replace GB64_district_outcome = 1 if GB64_district_name == "NEWCASTLE-UPON-TYNE NORTH"
replace GB64_district_outcome = 2 if GB64_district_name == "NEWCASTLE-UPONTYNE WEST"
replace GB64_district_outcome = 1 if GB64_district_name == "NEW FOREST"
replace GB64_district_outcome = 2 if GB64_district_name == "NEWPORT"
replace GB64_district_outcome = 2 if GB64_district_name == "NEWTON"
replace GB64_district_outcome = 1 if GB64_district_name == "CENTRAL NORFOLK"
replace GB64_district_outcome = 2 if GB64_district_name == "NORTH NORFOLK"
replace GB64_district_outcome = 1 if GB64_district_name == "SOUTH NORFOLK"
replace GB64_district_outcome = 1 if GB64_district_name == "SOUTH WEST NORFOLK"
replace GB64_district_outcome = 2 if GB64_district_name == "NORMANTON"
replace GB64_district_outcome = 2 if GB64_district_name == "NORTHAMPTON"
replace GB64_district_outcome = 1 if GB64_district_name == "SOUTH NORTHAMPTONSHIRE"
replace GB64_district_outcome = 1 if GB64_district_name == "NORTH FYLDE"
replace GB64_district_outcome = 1 if GB64_district_name == "NORTHWICH"
replace GB64_district_outcome = 2 if GB64_district_name == "NORWICH,NORTH"
replace GB64_district_outcome = 2 if GB64_district_name == "NORWICH,SOUTH"
replace GB64_district_outcome = 2 if GB64_district_name == "NOTTINGHAM,CENTRAL"
replace GB64_district_outcome = 2 if GB64_district_name == "NOTTINGHAM,NORTH"
replace GB64_district_outcome = 1 if GB64_district_name == "NOTTINGHAM,SOUTH"
replace GB64_district_outcome = 2 if GB64_district_name == "NOTTINGHAM,WEST"
replace GB64_district_outcome = 2 if GB64_district_name == "NUNEATON"
replace GB64_district_outcome = 2 if GB64_district_name == "OGMORE"
replace GB64_district_outcome = 2 if GB64_district_name == "OLDBURY AND HALESOWEN"
replace GB64_district_outcome = 2 if GB64_district_name == "OLDHAM,EAST"
replace GB64_district_outcome = 2 if GB64_district_name == "OLDHAM,WEST"
replace GB64_district_outcome = 3 if GB64_district_name == "ORKNEY AND ZETLAND"
replace GB64_district_outcome = 1 if GB64_district_name == "ORMSKIRK"
replace GB64_district_outcome = 3 if GB64_district_name == "ORPINGTON"
replace GB64_district_outcome = 1 if GB64_district_name == "OSWESTRY"
replace GB64_district_outcome = 1 if GB64_district_name == "OXFORD"
replace GB64_district_outcome = 2 if GB64_district_name == "PADDINGTON,NORTH"
replace GB64_district_outcome = 1 if GB64_district_name == "PADDINGTON,SOUTH"
replace GB64_district_outcome = 2 if GB64_district_name == "PAISLEY"
replace GB64_district_outcome = 2 if GB64_district_name == "PEMBROKE"
replace GB64_district_outcome = 2 if GB64_district_name == "PENISTONE"
replace GB64_district_outcome = 1 if GB64_district_name == "PENRITH AND THE BORDERS"
replace GB64_district_outcome = 1 if GB64_district_name == "PERTH AND EAST PERTHSHIRE"
replace GB64_district_outcome = 1 if GB64_district_name == "PETERBOROUGH"
replace GB64_district_outcome = 1 if GB64_district_name == "PETERSFIELD"
replace GB64_district_outcome = 1 if GB64_district_name == "PLYMOUTH,DEVONPORT"
replace GB64_district_outcome = 1 if GB64_district_name == "PLYMOUTH,SUTTON"
replace GB64_district_outcome = 2 if GB64_district_name == "PONTEFRACT"
replace GB64_district_outcome = 2 if GB64_district_name == "PONTYPOOL"
replace GB64_district_outcome = 2 if GB64_district_name == "PONTYPRIDD"
replace GB64_district_outcome = 1 if GB64_district_name == "POOLE"
replace GB64_district_outcome = 2 if GB64_district_name == "POPLAR"
replace GB64_district_outcome = 1 if GB64_district_name == "PORTSMOUTH,LANGSTON"
replace GB64_district_outcome = 1 if GB64_district_name == "PORTSMOUTH,SOUTH"
replace GB64_district_outcome = 1 if GB64_district_name == "PORTSMOUTH,WEST"
replace GB64_district_outcome = 1 if GB64_district_name == "PRESTON,NORTH"
replace GB64_district_outcome = 2 if GB64_district_name == "PRESTON,SOUTH"
replace GB64_district_outcome = 1 if GB64_district_name == "PUDSEY"
replace GB64_district_outcome = 1 if GB64_district_name == "READING"
replace GB64_district_outcome = 1 if GB64_district_name == "REIGATE"
replace GB64_district_outcome = 1 if GB64_district_name == "EAST RENFREWSHIRE"
replace GB64_district_outcome = 2 if GB64_district_name == "WEST RENFREWSHIRE"
replace GB64_district_outcome = 2 if GB64_district_name == "RHONDDA,EAST"
replace GB64_district_outcome = 2 if GB64_district_name == "RHONDDA,WEST"
replace GB64_district_outcome = 1 if GB64_district_name == "RICHMOND (SURREY)"
replace GB64_district_outcome = 1 if GB64_district_name == "RICHMOND (YORKSHIRE)"
replace GB64_district_outcome = 1 if GB64_district_name == "RIPON"
replace GB64_district_outcome = 2 if GB64_district_name == "ROCHDALE"
replace GB64_district_outcome = 2 if GB64_district_name == "ROCHESTER AND CHATHAM"
replace GB64_district_outcome = 2 if GB64_district_name == "ROMFORD"
replace GB64_district_outcome = 3 if GB64_district_name == "ROSS AND CROMARTY"
replace GB64_district_outcome = 2 if GB64_district_name == "ROSSENDALE"
replace GB64_district_outcome = 2 if GB64_district_name == "ROTHERHAM"
replace GB64_district_outcome = 2 if GB64_district_name == "ROTHER VALLEY"
replace GB64_district_outcome = 2 if GB64_district_name == "ROWLEY REGIS AND TIPTON"
replace GB64_district_outcome = 1 if GB64_district_name == "ROXBURGH, SELKIRK AND PEEBLES"
replace GB64_district_outcome = 1 if GB64_district_name == "RUGBY"
replace GB64_district_outcome = 1 if GB64_district_name == "RUISLIP-NORTHWOOD"
replace GB64_district_outcome = 1 if GB64_district_name == "RUNCORN"
replace GB64_district_outcome = 1 if GB64_district_name == "RUSHCLIFFE"
replace GB64_district_outcome = 2 if GB64_district_name == "RUTHERGLEN"
replace GB64_district_outcome = 1 if GB64_district_name == "RUTLAND AND STAMFORD"
replace GB64_district_outcome = 1 if GB64_district_name == "RYE"
replace GB64_district_outcome = 1 if GB64_district_name == "SAFFRON WALDON"
replace GB64_district_outcome = 1 if GB64_district_name == "ST.ALBANS"
replace GB64_district_outcome = 2 if GB64_district_name == "ST.HELENS"
replace GB64_district_outcome = 1 if GB64_district_name == "ST.IVES"
replace GB64_district_outcome = 1 if GB64_district_name == "ST.MARYLEBONE"
replace GB64_district_outcome = 2 if GB64_district_name == "ST.PANCRAS NORTH"
replace GB64_district_outcome = 2 if GB64_district_name == "SALFORD,EAST"
replace GB64_district_outcome = 2 if GB64_district_name == "SALFORD,WEST"
replace GB64_district_outcome = 1 if GB64_district_name == "SALISBURY"
replace GB64_district_outcome = 1 if GB64_district_name == "SCARBOROUGH AND WHITBY"
replace GB64_district_outcome = 2 if GB64_district_name == "SEDGEFIELD"
replace GB64_district_outcome = 1 if GB64_district_name == "SEVENOAKS"
replace GB64_district_outcome = 2 if GB64_district_name == "SHEFFIELD,ATTERCLIFFE"
replace GB64_district_outcome = 2 if GB64_district_name == "SHEFFIELD,BRIGHTSIDE"
replace GB64_district_outcome = 1 if GB64_district_name == "SHEFFIELD,HALLAM"
replace GB64_district_outcome = 1 if GB64_district_name == "SHEFFIELD,HEELEY"
replace GB64_district_outcome = 2 if GB64_district_name == "SHEFFIELD,HILLSBOROUGH"
replace GB64_district_outcome = 2 if GB64_district_name == "SHEFFIELD,PARK"
replace GB64_district_outcome = 1 if GB64_district_name == "SHIPLEY"
replace GB64_district_outcome = 2 if GB64_district_name == "SHOREDITCH AND FINSBURY"
replace GB64_district_outcome = 1 if GB64_district_name == "SHREWSBURY"
replace GB64_district_outcome = 1 if GB64_district_name == "SKIPTON"
replace GB64_district_outcome = 1 if GB64_district_name == "SMETHWICK"
replace GB64_district_outcome = 1 if GB64_district_name == "SOLIHULL"
replace GB64_district_outcome = 1 if GB64_district_name == "NORTH SOMERSET"
replace GB64_district_outcome = 2 if GB64_district_name == "SOUTHALL"
replace GB64_district_outcome = 2 if GB64_district_name == "SOUTHAMPTON,ITCHEN"
replace GB64_district_outcome = 1 if GB64_district_name == "SOUTHAMPTON,TEST"
replace GB64_district_outcome = 1 if GB64_district_name == "SOUTHEND EAST"
replace GB64_district_outcome = 1 if GB64_district_name == "SOUTHEND WEST"
replace GB64_district_outcome = 1 if GB64_district_name == "SOUTH FYLDE"
replace GB64_district_outcome = 1 if GB64_district_name == "SOUTHGATE"
replace GB64_district_outcome = 1 if GB64_district_name == "SOUTHPORT"
replace GB64_district_outcome = 2 if GB64_district_name == "SOUTH SHIELDS"
replace GB64_district_outcome = 2 if GB64_district_name == "SOUTHWARK"
replace GB64_district_outcome = 2 if GB64_district_name == "SOWERBY"
replace GB64_district_outcome = 1 if GB64_district_name == "SPELTHORNE"
replace GB64_district_outcome = 1 if GB64_district_name == "STAFFORD AND STONE"
replace GB64_district_outcome = 2 if GB64_district_name == "STALYBRIDGE AND HYDE"
replace GB64_district_outcome = 2 if GB64_district_name == "STEPNEY"
replace GB64_district_outcome = 2 if GB64_district_name == "STIRLING AND FALKIRK"
replace GB64_district_outcome = 2 if GB64_district_name == "CLACKMANNAN AND EAST STIRLINGSHIRE"
replace GB64_district_outcome = 2 if GB64_district_name == "WEST STIRLINGSHIRE"
replace GB64_district_outcome = 2 if GB64_district_name == "STOCKPORT NORTH"
replace GB64_district_outcome = 2 if GB64_district_name == "STOCKPORT SOUTH"
replace GB64_district_outcome = 2 if GB64_district_name == "STOCKTON-ON-TEES"
replace GB64_district_outcome = 2 if GB64_district_name == "STOKE NEWINGTON AND HACKNEY NORTH"
replace GB64_district_outcome = 2 if GB64_district_name == "STOKE ON TRENT,CENTRAL"
replace GB64_district_outcome = 2 if GB64_district_name == "STOKE ON TRENT,NORTH"
replace GB64_district_outcome = 2 if GB64_district_name == "STOKE ON TRENT,SOUTH"
replace GB64_district_outcome = 1 if GB64_district_name == "STRATFORD"
replace GB64_district_outcome = 1 if GB64_district_name == "STRETFORD"
replace GB64_district_outcome = 1 if GB64_district_name == "STROUD"
replace GB64_district_outcome = 1 if GB64_district_name == "SUDBURY AND WOODBRIDGE"
replace GB64_district_outcome = 2 if GB64_district_name == "SUNDERLAND NORTH"
replace GB64_district_outcome = 2 if GB64_district_name == "SUNDERLAND SOUTH"
replace GB64_district_outcome = 1 if GB64_district_name == "SURBITON"
replace GB64_district_outcome = 1 if GB64_district_name == "EAST SURREY"
replace GB64_district_outcome = 1 if GB64_district_name == "SUTTON AND CHEAM"
replace GB64_district_outcome = 1 if GB64_district_name == "SUTTON COLDFIELD"
replace GB64_district_outcome = 2 if GB64_district_name == "SWANSEA,EAST"
replace GB64_district_outcome = 2 if GB64_district_name == "SWANSEA,WEST"
replace GB64_district_outcome = 2 if GB64_district_name == "SWINDON"
replace GB64_district_outcome = 1 if GB64_district_name == "TAUNTON"
replace GB64_district_outcome = 1 if GB64_district_name == "TAVISTOCK"
replace GB64_district_outcome = 1 if GB64_district_name == "THIRSK AND MALTON"
replace GB64_district_outcome = 2 if GB64_district_name == "THURROCK"
replace GB64_district_outcome = 1 if GB64_district_name == "TIVERTON"
replace GB64_district_outcome = 1 if GB64_district_name == "TONBRIDGE"
replace GB64_district_outcome = 1 if GB64_district_name == "TORQUAY"
replace GB64_district_outcome = 1 if GB64_district_name == "TORRINGTON"
replace GB64_district_outcome = 1 if GB64_district_name == "TOTNES"
replace GB64_district_outcome = 2 if GB64_district_name == "TOTTENHAM"
replace GB64_district_outcome = 1 if GB64_district_name == "TRURO"
replace GB64_district_outcome = 1 if GB64_district_name == "TWICKENHAM"
replace GB64_district_outcome = 1 if GB64_district_name == "TYNEMOUTH"
replace GB64_district_outcome = 1 if GB64_district_name == "ULSTER MID"
replace GB64_district_outcome = 1 if GB64_district_name == "UXBRIDGE"
replace GB64_district_outcome = 2 if GB64_district_name == "WAKEFIELD"
replace GB64_district_outcome = 1 if GB64_district_name == "WALLASEY"
replace GB64_district_outcome = 2 if GB64_district_name == "WALLSEND"
replace GB64_district_outcome = 2 if GB64_district_name == "WALSALL,NORTH"
replace GB64_district_outcome = 1 if GB64_district_name == "WALSALL,SOUTH"
replace GB64_district_outcome = 1 if GB64_district_name == "WALTHAMSTOW,EAST"
replace GB64_district_outcome = 2 if GB64_district_name == "WALTHAMSTOW,WEST"
replace GB64_district_outcome = 2 if GB64_district_name == "WANDSWORTH,CENTRAL"
replace GB64_district_outcome = 2 if GB64_district_name == "WANDSWORTH,CLAPHAM"
replace GB64_district_outcome = 2 if GB64_district_name == "WANDSWORTH,PUTNEY"
replace GB64_district_outcome = 1 if GB64_district_name == "WANDSWORTH,STREATHAM"
replace GB64_district_outcome = 1 if GB64_district_name == "WANSTEAD AND WOODFORD"
replace GB64_district_outcome = 2 if GB64_district_name == "WARRINGTON"
replace GB64_district_outcome = 1 if GB64_district_name == "WARWICK AND LEAMINGTON"
replace GB64_district_outcome = 2 if GB64_district_name == "WATFORD"
replace GB64_district_outcome = 2 if GB64_district_name == "WEDNESBURY"
replace GB64_district_outcome = 2 if GB64_district_name == "WELLINGBOROUGH"
replace GB64_district_outcome = 1 if GB64_district_name == "WELLS"
replace GB64_district_outcome = 1 if GB64_district_name == "WEMBLEY NORTH"
replace GB64_district_outcome = 1 if GB64_district_name == "WEMBLEY SOUTH"
replace GB64_district_outcome = 2 if GB64_district_name == "WEST BROMWICH"
replace GB64_district_outcome = 1 if GB64_district_name == "WESTBURY"
replace GB64_district_outcome = 2 if GB64_district_name == "WESTERN ISLES"
replace GB64_district_outcome = 2 if GB64_district_name == "WEST HAM NORTH"
replace GB64_district_outcome = 2 if GB64_district_name == "WEST HAM SOUTH"
replace GB64_district_outcome = 2 if GB64_district_name == "WESTHOUGHTON"
replace GB64_district_outcome = 2 if GB64_district_name == "WEST LOTHIAN"
replace GB64_district_outcome = 1 if GB64_district_name == "WESTMORLAND"
replace GB64_district_outcome = 1 if GB64_district_name == "WESTON SUPER MARE"
replace GB64_district_outcome = 2 if GB64_district_name == "WHITEHAVEN"
replace GB64_district_outcome = 2 if GB64_district_name == "WIDNES"
replace GB64_district_outcome = 2 if GB64_district_name == "WIGAN"
replace GB64_district_outcome = 2 if GB64_district_name == "WILLESDEN,EAST"
replace GB64_district_outcome = 2 if GB64_district_name == "WILLESDEN,WEST"
replace GB64_district_outcome = 1 if GB64_district_name == "WIMBLEDON"
replace GB64_district_outcome = 1 if GB64_district_name == "WINCHESTER"
replace GB64_district_outcome = 1 if GB64_district_name == "WINDSOR"
replace GB64_district_outcome = 1 if GB64_district_name == "WIRRAL"
replace GB64_district_outcome = 1 if GB64_district_name == "WOKING"
replace GB64_district_outcome = 1 if GB64_district_name == "WOKINGHAM"
replace GB64_district_outcome = 2 if GB64_district_name == "WOLVERHAMPTON NORTH EAST"
replace GB64_district_outcome = 1 if GB64_district_name == "WOLVERHAMPTON SOUTH WEST"
replace GB64_district_outcome = 2 if GB64_district_name == "WOOD GREEN"
replace GB64_district_outcome = 2 if GB64_district_name == "WOOLWICH,EAST"
replace GB64_district_outcome = 2 if GB64_district_name == "WOOLWICH,WEST"
replace GB64_district_outcome = 1 if GB64_district_name == "WORCESTER"
replace GB64_district_outcome = 1 if GB64_district_name == "SOUTH WORCESTERSHIRE"
replace GB64_district_outcome = 2 if GB64_district_name == "WORKINGTON"
replace GB64_district_outcome = 1 if GB64_district_name == "WORTHING"
replace GB64_district_outcome = 1 if GB64_district_name == "THE WREKIN"
replace GB64_district_outcome = 2 if GB64_district_name == "WREXHAM"
replace GB64_district_outcome = 1 if GB64_district_name == "WYCOMBE"
replace GB64_district_outcome = 1 if GB64_district_name == "YARMOUTH"
replace GB64_district_outcome = 1 if GB64_district_name == "YEOVIL"
replace GB64_district_outcome = 1 if GB64_district_name == "YORK"


********************************************************
** COMPETITIVENESS: 1964 GENERAL ELECTION (1964 WAVE) **
********************************************************

* Margin of victory by district

gen GB64_margin = .

replace GB64_margin = 51.58261 if GB64_district_name == "ABERAVON"
replace GB64_margin = 62.02239 if GB64_district_name == "ABERDARE"
replace GB64_margin = 37.82298 if GB64_district_name == "ABERDEEN NORTH"
replace GB64_margin = 7.804273 if GB64_district_name == "ABERDEEN SOUTH"
replace GB64_margin = 24.71943 if GB64_district_name == "EAST ABERDEENSHIRE"
replace GB64_margin = 13.21144 if GB64_district_name == "WEST ABERDEENSHIRE"
replace GB64_margin = 71.7997 if GB64_district_name == "ABERTILLERY"
replace GB64_margin = 11.44823 if GB64_district_name == "ABINGDON"
replace GB64_margin = 13.0974 if GB64_district_name == "ACCRINGTON"
replace GB64_margin = 7.534644 if GB64_district_name == "ACTON"
replace GB64_margin = 24.36215 if GB64_district_name == "ALDERSHOT"
replace GB64_margin = 18.81138 if GB64_district_name == "ALTRINCHAM AND SALE"
replace GB64_margin = 23.25011 if GB64_district_name == "ANGLESEY"
replace GB64_margin = 15.20492 if GB64_district_name == "NORTH ANGUS AND MEARNS"
replace GB64_margin = 35.61318 if GB64_district_name == "SOUTH ANGUS"
replace GB64_margin = 80.24824 if GB64_district_name == "ANTRIM NORTH"
replace GB64_margin = 45.49538 if GB64_district_name == "ANTRIM SOUTH"
replace GB64_margin = 18.3497 if GB64_district_name == "ARGYLL"
replace GB64_margin = 42.06689 if GB64_district_name == "ARMAGH"
replace GB64_margin = 33.18752 if GB64_district_name == "ARUNDEL AND SHOREHAM"
replace GB64_margin = 45.68681 if GB64_district_name == "ASHFIELD"
replace GB64_margin = 21.24054 if GB64_district_name == "ASHFORD"
replace GB64_margin = 9.084876 if GB64_district_name == "ASHTON UNDER LYNE"
replace GB64_margin = 14.59584 if GB64_district_name == "AYLESBURY"
replace GB64_margin = 4.430495 if GB64_district_name == "AYR"
replace GB64_margin = 12.87804 if GB64_district_name == "CENTRAL AYRSHIRE"
replace GB64_margin = 13.78467 if GB64_district_name == "BUTE AND NORTH AYRSHIRE"
replace GB64_margin = 33.35305 if GB64_district_name == "SOUTH AYRSHIRE"
replace GB64_margin = 8.85776 if GB64_district_name == "BANBURY"
replace GB64_margin = 21.12986 if GB64_district_name == "BANFF"
replace GB64_margin = 40.09072 if GB64_district_name == "BARKING"
replace GB64_margin = 17.63441 if GB64_district_name == "BARKSTON ASH"
replace GB64_margin = 15.93031 if GB64_district_name == "BARNET"
replace GB64_margin = 49.91929 if GB64_district_name == "BARNSLEY"
replace GB64_margin = 3.471581 if GB64_district_name == "BARONS COURT"
replace GB64_margin = 10.25456 if GB64_district_name == "BARROW IN FURNESS"
replace GB64_margin = 8.059093 if GB64_district_name == "BARRY"
replace GB64_margin = 14.86285 if GB64_district_name == "BASINGSTOKE"
replace GB64_margin = 18.05297 if GB64_district_name == "BASSETLAW"
replace GB64_margin = 8.271513 if GB64_district_name == "BATH"
replace GB64_margin = 22.26201 if GB64_district_name == "BATLEY AND MORLEY"
replace GB64_margin = 38.75827 if GB64_district_name == "BATTERSEA,NORTH"
replace GB64_margin = 6.260989 if GB64_district_name == "BATTERSEA,SOUTH"
replace GB64_margin = 3.716228 if GB64_district_name == "BEBINGTON"
replace GB64_margin = 29.75689 if GB64_district_name == "BECKENHAM"
replace GB64_margin = 6.645276 if GB64_district_name == "BEDFORD"
replace GB64_margin = 10.92126 if GB64_district_name == "MID-BEDFORDSHIRE"
replace GB64_margin = .5034379 if GB64_district_name == "SOUTH BEDFORDSHIRE"
replace GB64_margin = 67.02143 if GB64_district_name == "BEDWELLTY"
replace GB64_margin = 21.92434 if GB64_district_name == "BELFAST EAST"
replace GB64_margin = 24.68429 if GB64_district_name == "BELFAST NORTH"
replace GB64_margin = 47.3877 if GB64_district_name == "BELFAST SOUTH"
replace GB64_margin = 6.564176 if GB64_district_name == "BELFAST WEST"
replace GB64_margin = 9.792575 if GB64_district_name == "BELPER"
replace GB64_margin = 58.56501 if GB64_district_name == "BERMONDSEY"
replace GB64_margin = 1.463255 if GB64_district_name == "BERWICK AND EAST LOTHIAN"
replace GB64_margin = 24.04095 if GB64_district_name == "BERWICK UPON TWEED"
replace GB64_margin = 46.49223 if GB64_district_name == "BETHNAL GREEN"
replace GB64_margin = 8.456336 if GB64_district_name == "BEXLEY"
replace GB64_margin = 1.994787 if GB64_district_name == "BILLERICAY"
replace GB64_margin = 6.265188 if GB64_district_name == "BILSTON"
replace GB64_margin = 13.91269 if GB64_district_name == "BIRKENHEAD"
replace GB64_margin = 1.594301 if GB64_district_name == "BIRMINGHAM,ALL SAINTS"
replace GB64_margin = 9.439677 if GB64_district_name == "BIRMINGHAM,ASTON"
replace GB64_margin = 34.71087 if GB64_district_name == "BIRMINGHAM,EDGBASTON"
replace GB64_margin = 20.67782 if GB64_district_name == "BIRMINGHAM,HALL GREEN"
replace GB64_margin = 13.90941 if GB64_district_name == "BIRMINGHAM,HANDSWORTH"
replace GB64_margin = 26.40671 if GB64_district_name == "BIRMINGHAM,LADYWOOD"
replace GB64_margin = 6.830416 if GB64_district_name == "BIRMINGHAM,NORTHFIED"
replace GB64_margin = .8924916 if GB64_district_name == "BIRMINGHAM,PERRY BARR"
replace GB64_margin = 13.83145 if GB64_district_name == "BIRMINGHAM,SELLY OAK"
replace GB64_margin = 24.05836 if GB64_district_name == "BIRMINGHAM,SMALL HEATH"
replace GB64_margin = 4.003831 if GB64_district_name == "BIRMINGHAM,SPARKBROOK"
replace GB64_margin = 13.65641 if GB64_district_name == "BIRMINGHAM,STECHFORD"
replace GB64_margin = .3721893 if GB64_district_name == "BIRMINGHAM,YARDLEY"
replace GB64_margin = 23.62851 if GB64_district_name == "BISHOP AUCKLAND"
replace GB64_margin = 14.92217 if GB64_district_name == "BLACKBURN"
replace GB64_margin = 19.6239 if GB64_district_name == "BLACKPOOL,NORTH"
replace GB64_margin = 16.64336 if GB64_district_name == "BLACKPOOL,SOUTH"
replace GB64_margin = 32.34278 if GB64_district_name == "BLAYDON"
replace GB64_margin = 51.87114 if GB64_district_name == "BLYTH"
replace GB64_margin = 8.446456 if GB64_district_name == "BODMIN"
replace GB64_margin = 58.68919 if GB64_district_name == "BOLSOVER"
replace GB64_margin = 6.622544 if GB64_district_name == "BOLTON,EAST"
replace GB64_margin = 7.468787 if GB64_district_name == "BOLTON,WEST"
replace GB64_margin = 24.0032 if GB64_district_name == "BOOTLE"
replace GB64_margin = 10.3493 if GB64_district_name == "BOSWORTH"
replace GB64_margin = 20.79607 if GB64_district_name == "BOTHWELL"
replace GB64_margin = 34.46211 if GB64_district_name == "BOURNEMOUTH EAST AND CHRISTCHURCH"
replace GB64_margin = 23.44794 if GB64_district_name == "BOURNEMOUTH WEST"
replace GB64_margin = 23.67333 if GB64_district_name == "BRADFORD,EAST"
replace GB64_margin = 3.405271 if GB64_district_name == "BRADFORD,NORTH"
replace GB64_margin = 8.608191 if GB64_district_name == "BRADFORD,SOUTH"
replace GB64_margin = 8.049623 if GB64_district_name == "BRADFORD,WEST"
replace GB64_margin = 20.58392 if GB64_district_name == "BRECON AND RADNOR"
replace GB64_margin = 1.786829 if GB64_district_name == "BRENTFORD AND CHISWICK"
replace GB64_margin = 13.27987 if GB64_district_name == "BRIDGWATER"
replace GB64_margin = 34.12555 if GB64_district_name == "BRIDLINGTON"
replace GB64_margin = 6.861187 if GB64_district_name == "BRIERLEY HILL"
replace GB64_margin = 11.48847 if GB64_district_name == "BRIGG"
replace GB64_margin = 1.963498 if GB64_district_name == "BRIGHOUSE AND SPENBOROUGH"
replace GB64_margin = .0156919 if GB64_district_name == "BRIGHTON,KEMPTOWN"
replace GB64_margin = 24.93166 if GB64_district_name == "BRIGHTON,PAVILION"
replace GB64_margin = 15.42727 if GB64_district_name == "BRISTOL,CENTRAL"
replace GB64_margin = 2.523916 if GB64_district_name == "BRISTOL,NORTH EAST"
replace GB64_margin = 2.240936 if GB64_district_name == "BRISTOL,NORTH WEST"
replace GB64_margin = 26.96949 if GB64_district_name == "BRISTOL,SOUTH"
replace GB64_margin = 20.32067 if GB64_district_name == "BRISTOL,SOUTH EAST"
replace GB64_margin = 37.8684 if GB64_district_name == "BRISTOL,WEST"
replace GB64_margin = 29.15423 if GB64_district_name == "BROMLEY"
replace GB64_margin = 11.42429 if GB64_district_name == "BROMSGROVE"
replace GB64_margin = 2.946267 if GB64_district_name == "BUCKINGHAM"
replace GB64_margin = 27.62323 if GB64_district_name == "SOUTH BUCKINGHAMSHIRE"
replace GB64_margin = 28.97934 if GB64_district_name == "BURNLEY"
replace GB64_margin = 6.487752 if GB64_district_name == "BURTON"
replace GB64_margin = 2.266467 if GB64_district_name == "BURY AND RADCLIFFE"
replace GB64_margin = 9.927978 if GB64_district_name == "BURY ST.EDMUNDS"
replace GB64_margin = 30.16825 if GB64_district_name == "CAERNARVON"
replace GB64_margin = 55.26586 if GB64_district_name == "CAERPHILLY"
replace GB64_margin = 5.833105 if GB64_district_name == "CAITHNESS AND SUTHERLAND"
replace GB64_margin = 5.979321 if GB64_district_name == "CAMBERWELL,DULWICH"
replace GB64_margin = 28.35307 if GB64_district_name == "CAMBERWELL,PECKHAM"
replace GB64_margin = 2.907439 if GB64_district_name == "CAMBRIDGE"
replace GB64_margin = 13.97254 if GB64_district_name == "CAMBRIDGESHIRE"
replace GB64_margin = 15.05952 if GB64_district_name == "CANNOCK"
replace GB64_margin = 22.50291 if GB64_district_name == "CANTERBURY"
replace GB64_margin = 7.40453 if GB64_district_name == "CARDIFF,NORTH"
replace GB64_margin = 14.95889 if GB64_district_name == "CARDIFF,SOUTH EAST"
replace GB64_margin = 18.33678 if GB64_district_name == "CARDIFF,WEST"
replace GB64_margin = 7.411489 if GB64_district_name == "CARDIGAN"
replace GB64_margin = 5.040179 if GB64_district_name == "CARLISLE"
replace GB64_margin = 10.67658 if GB64_district_name == "CARLTON"
replace GB64_margin = 13.18621 if GB64_district_name == "CARMARTHEN"
replace GB64_margin = 18.74041 if GB64_district_name == "CARSHALTON"
replace GB64_margin = 11.98593 if GB64_district_name == "CHEADLE"
replace GB64_margin = 12.10937 if GB64_district_name == "CHELMSFORD"
replace GB64_margin = 36.38161 if GB64_district_name == "CHELSEA"
replace GB64_margin = 12.4994 if GB64_district_name == "CHELTENHAM"
replace GB64_margin = 17.41179 if GB64_district_name == "CHERTSEY"
replace GB64_margin = 13.61903 if GB64_district_name == "CITY OF CHESTER"
replace GB64_margin = 27.82829 if GB64_district_name == "CHESTERFIELD"
replace GB64_margin = 50.39089 if GB64_district_name == "CHESTER-LE-STREET"
replace GB64_margin = 35.01693 if GB64_district_name == "CHICHESTER"
replace GB64_margin = 8.50806 if GB64_district_name == "CHIGWELL"
replace GB64_margin = 3.450281 if GB64_district_name == "CHIPPENHAM"
replace GB64_margin = 3.013246 if GB64_district_name == "CHISLEHURST"
replace GB64_margin = 7.274971 if GB64_district_name == "CHORLEY"
replace GB64_margin = 19.2706 if GB64_district_name == "CIRENCESTER AND TEWKESBURY"
replace GB64_margin = 6.975837 if GB64_district_name == "CLEVELAND"
replace GB64_margin = 11.25217 if GB64_district_name == "CLITHEROE"
replace GB64_margin = 24.21957 if GB64_district_name == "COATBRIDGE AND AIRDRIE"
replace GB64_margin = 6.985098 if GB64_district_name == "COLCHESTER"
replace GB64_margin = .424094 if GB64_district_name == "COLNE VALLEY"
replace GB64_margin = 36.20029 if GB64_district_name == "CONSETT"
replace GB64_margin = 9.499258 if GB64_district_name == "CONWAY"
replace GB64_margin = 1.868872 if GB64_district_name == "NORTH CORNWALL"
replace GB64_margin = 21.51769 if GB64_district_name == "COVENTRY,EAST"
replace GB64_margin = 7.969837 if GB64_district_name == "COVENTRY,NORTH"
replace GB64_margin = 3.235829 if GB64_district_name == "COVENTRY,SOUTH"
replace GB64_margin = 14.36124 if GB64_district_name == "CREWE"
replace GB64_margin = 16.66441 if GB64_district_name == "CROSBY"
replace GB64_margin = 8.993802 if GB64_district_name == "CROYDON,NORTH EAST"
replace GB64_margin = 13.43874 if GB64_district_name == "CROYDON,NORTH WEST"
replace GB64_margin = 5.494599 if GB64_district_name == "CROYDON,SOUTH"
replace GB64_margin = 46.1496 if GB64_district_name == "DAGENHAM"
replace GB64_margin = 3.965123 if GB64_district_name == "DARLINGTON"
replace GB64_margin = 8.274774 if GB64_district_name == "DARTFORD"
replace GB64_margin = 9.85518 if GB64_district_name == "DARWEN"
replace GB64_margin = 61.54759 if GB64_district_name == "DEARNE VALLEY"
replace GB64_margin = 10.66461 if GB64_district_name == "DENBIGH"
replace GB64_margin = 33.30272 if GB64_district_name == "DEPTFORD"
replace GB64_margin = 18.28906 if GB64_district_name == "DERBY NORTH"
replace GB64_margin = 15.47411 if GB64_district_name == "DERBY SOUTH"
replace GB64_margin = 28.38379 if GB64_district_name == "NORTH EAST DERBYSHIRE"
replace GB64_margin = 1.500438 if GB64_district_name == "SOUTH EAST DERBYSHIRE"
replace GB64_margin = 13.83859 if GB64_district_name == "WEST DERBYSHIRE"
replace GB64_margin = 8.740508 if GB64_district_name == "DEVIZES"
replace GB64_margin = 13.68542 if GB64_district_name == "NORTH DEVON"
replace GB64_margin = 14.17437 if GB64_district_name == "DEWSBURY"
replace GB64_margin = 2.329524 if GB64_district_name == "DONCASTER"
replace GB64_margin = 43.79541 if GB64_district_name == "DON VALLEY"
replace GB64_margin = 32.75159 if GB64_district_name == "DORKING"
replace GB64_margin = 12.53696 if GB64_district_name == "NORTH DORSET"
replace GB64_margin = 1.924541 if GB64_district_name == "SOUTH DORSET"
replace GB64_margin = 19.63828 if GB64_district_name == "WEST DORSET"
replace GB64_margin = .7790514 if GB64_district_name == "DOVER"
replace GB64_margin = 54.66941 if GB64_district_name == "DOWN NORTH"
replace GB64_margin = 39.21502 if GB64_district_name == "DOWN SOUTH"
replace GB64_margin = 17.99891 if GB64_district_name == "DUDLEY"
replace GB64_margin = 9.500661 if GB64_district_name == "DUMFRIES"
replace GB64_margin = 13.05111 if GB64_district_name == "EAST DUNBARTONSHIRE"
replace GB64_margin = 13.55855 if GB64_district_name == "WEST DUNBARTONSHIRE"
replace GB64_margin = 9.593995 if GB64_district_name == "DUNDEE EAST"
replace GB64_margin = 9.090193 if GB64_district_name == "DUNDEE WEST"
replace GB64_margin = 23.10896 if GB64_district_name == "DUNFERMLINE BURGHS"
replace GB64_margin = 36.66479 if GB64_district_name == "DURHAM"
replace GB64_margin = 39.49472 if GB64_district_name == "NORTH WEST DURHAM"
replace GB64_margin = .0561062 if GB64_district_name == "EALING,NORTH"
replace GB64_margin = 22.07384 if GB64_district_name == "EALING,SOUTH"
replace GB64_margin = 60.8965 if GB64_district_name == "EASINGTON"
replace GB64_margin = 20.35631 if GB64_district_name == "EASTBOURNE"
replace GB64_margin = 26.21467 if GB64_district_name == "EAST GRINSTEAD"
replace GB64_margin = 20.71592 if GB64_district_name == "EAST HAM,NORTH"
replace GB64_margin = 31.98021 if GB64_district_name == "EAST HAM,SOUTH"
replace GB64_margin = 4.057915 if GB64_district_name == "EASTLEIGH"
replace GB64_margin = 67.19149 if GB64_district_name == "EBBW VALE"
replace GB64_margin = 14.68844 if GB64_district_name == "ECCLES"
replace GB64_margin = 7.967702 if GB64_district_name == "EDINBURGH CENTRAL"
replace GB64_margin = 12.29404 if GB64_district_name == "EDINBURGH EAST"
replace GB64_margin = 10.99579 if GB64_district_name == "EDINBURGH LEITH"
replace GB64_margin = 16.45207 if GB64_district_name == "EDINBURGH NORTH"
replace GB64_margin = 5.445172 if GB64_district_name == "EDINBURGH PENTLANDS"
replace GB64_margin = 19.45177 if GB64_district_name == "EDINBURGH SOUTH"
replace GB64_margin = 15.26467 if GB64_district_name == "EDINBURGH WEST"
replace GB64_margin = 10.35228 if GB64_district_name == "EDMONTON"
replace GB64_margin = 18.53507 if GB64_district_name == "ENFIELD,EAST"
replace GB64_margin = 28.2401 if GB64_district_name == "ENFIELD,WEST"
replace GB64_margin = 4.107209 if GB64_district_name == "EPPING"
replace GB64_margin = 30.98798 if GB64_district_name == "EPSOM"
replace GB64_margin = 20.61892 if GB64_district_name == "ERITH AND CRAYFORD"
replace GB64_margin = 33.11742 if GB64_district_name == "ESHER"
replace GB64_margin = 13.95036 if GB64_district_name == "SOUTH EAST ESSEX"
replace GB64_margin = .0242553 if GB64_district_name == "ETON AND SLOUGH"
replace GB64_margin = 3.12938 if GB64_district_name == "EXETER"
replace GB64_margin = 11.51504 if GB64_district_name == "EYE"
replace GB64_margin = 6.912845 if GB64_district_name == "FALMOUTH AND CAMBORNE"
replace GB64_margin = 22.7645 if GB64_district_name == "FARNHAM"
replace GB64_margin = 24.11465 if GB64_district_name == "FARNWORTH"
replace GB64_margin = 8.023642 if GB64_district_name == "FAVERSHAM"
replace GB64_margin = 13.88962 if GB64_district_name == "FELTHAM"
replace GB64_margin = 25.45648 if GB64_district_name == "FERMANAGH AND SOUTH TYRONE"
replace GB64_margin = 29.00886 if GB64_district_name == "EAST FIFE"
replace GB64_margin = 38.50406 if GB64_district_name == "WEST FIFE"
replace GB64_margin = 16.67424 if GB64_district_name == "FINCHLEY"
replace GB64_margin = 8.420246 if GB64_district_name == "EAST FLINTSHIRE"
replace GB64_margin = 12.88466 if GB64_district_name == "WEST FLINTSHIRE"
replace GB64_margin = 24.46637 if GB64_district_name == "FOLKESTONE AND HYTHE"
replace GB64_margin = 14.02643 if GB64_district_name == "FULHAM"
replace GB64_margin = 17.64414 if GB64_district_name == "GAINSBOROUGH"
replace GB64_margin = 28.71506 if GB64_district_name == "GALLOWAY"
replace GB64_margin = 29.01398 if GB64_district_name == "GATESHEAD EAST"
replace GB64_margin = 37.94215 if GB64_district_name == "GATESHEAD WEST"
replace GB64_margin = 14.32815 if GB64_district_name == "GILLINGHAM"
replace GB64_margin = 43.18001 if GB64_district_name == "GLASGOW BRIDGETON"
replace GB64_margin = 5.824433 if GB64_district_name == "GLASGOW CATHCART"
replace GB64_margin = 40.29019 if GB64_district_name == "GLASGOW CENTRAL"
replace GB64_margin = 16.77795 if GB64_district_name == "GLASGOW CRAIGTON"
replace GB64_margin = 48.37092 if GB64_district_name == "GLASGOW GORBALS"
replace GB64_margin = 34.38849 if GB64_district_name == "GLASGOW GOVAN"
replace GB64_margin = 27.93525 if GB64_district_name == "GLASGOW HILLHEAD"
replace GB64_margin = 8.096807 if GB64_district_name == "GLASGOW KELVINGROVE"
replace GB64_margin = 40.72626 if GB64_district_name == "GLASGOW MARYHILL"
replace GB64_margin = .729927 if GB64_district_name == "GLASGOW POLLOK"
replace GB64_margin = 31.63191 if GB64_district_name == "GLASGOW PROVAN"
replace GB64_margin = 23.19329 if GB64_district_name == "GLASGOW SCOTSTOUN"
replace GB64_margin = 35.94827 if GB64_district_name == "GLASGOW SHETTLESTON"
replace GB64_margin = 43.43575 if GB64_district_name == "GLASGOW SPRINGBURN"
replace GB64_margin = 5.292846 if GB64_district_name == "GLASGOW WOODSIDE"
replace GB64_margin = 9.550875 if GB64_district_name == "GLOUCESTER"
replace GB64_margin = 6.413954 if GB64_district_name == "SOUTH GLOUCESTERSHIRE"
replace GB64_margin = 15.85358 if GB64_district_name == "WEST GLOUCESTERSHIRE"
replace GB64_margin = 23.46378 if GB64_district_name == "GOOLE"
replace GB64_margin = 22.52221 if GB64_district_name == "GOSPORT AND FAREHAM"
replace GB64_margin = 48.55775 if GB64_district_name == "GOWER"
replace GB64_margin = 11.86948 if GB64_district_name == "GRANTHAM"
replace GB64_margin = 1.302795 if GB64_district_name == "GRAVESEND"
replace GB64_margin = 29.68579 if GB64_district_name == "GREENOCK"
replace GB64_margin = 25.17052 if GB64_district_name == "GREENWICH"
replace GB64_margin = 8.672648 if GB64_district_name == "GRIMSBY"
replace GB64_margin = 22.87919 if GB64_district_name == "GUILDFORD"
replace GB64_margin = 32.64838 if GB64_district_name == "HACKNEY CENTRAL"
replace GB64_margin = 2.000303 if GB64_district_name == "HALIFAX"
replace GB64_margin = 33.93291 if GB64_district_name == "HALTEMPRICE"
replace GB64_margin = 42.08487 if GB64_district_name == "HAMILTON"
replace GB64_margin = 25.81488 if GB64_district_name == "HAMMERSMITH NORTH"
replace GB64_margin = 3.992602 if GB64_district_name == "HAMPSTEAD"
replace GB64_margin = 18.72896 if GB64_district_name == "HARBOROUGH"
replace GB64_margin = 35.66096 if GB64_district_name == "HARROGATE"
replace GB64_margin = 12.48847 if GB64_district_name == "HARROW,CENTRAL"
replace GB64_margin = 5.889715 if GB64_district_name == "HARROW,EAST"
replace GB64_margin = 28.91266 if GB64_district_name == "HARROW,WEST"
replace GB64_margin = 5.863106 if GB64_district_name == "THE HARTLEPOOLS"
replace GB64_margin = 20.53089 if GB64_district_name == "HARWICH"
replace GB64_margin = 14.70139 if GB64_district_name == "HASTINGS"
replace GB64_margin = 20.14743 if GB64_district_name == "HAYES AND HARLINGTON"
replace GB64_margin = 6.984923 if GB64_district_name == "HEMEL HEMPSTEAD"
replace GB64_margin = 66.13798 if GB64_district_name == "HEMSWORTH"
replace GB64_margin = 2.798596 if GB64_district_name == "HENDON,NORTH"
replace GB64_margin = 18.2945 if GB64_district_name == "HENDON,SOUTH"
replace GB64_margin = 16.37381 if GB64_district_name == "HENLEY"
replace GB64_margin = 14.72317 if GB64_district_name == "HEREFORD"
replace GB64_margin = 6.304648 if GB64_district_name == "HERTFORD"
replace GB64_margin = 12.73735 if GB64_district_name == "EAST HERTFORDSHIRE"
replace GB64_margin = 9.816318 if GB64_district_name == "SOUTH WEST HERTFORDSHIRE"
replace GB64_margin = 8.559443 if GB64_district_name == "HESTON AND ISLEWORTH"
replace GB64_margin = 18.82122 if GB64_district_name == "HEXHAM"
replace GB64_margin = 1.650285 if GB64_district_name == "HEYWOOD AND ROYTON"
replace GB64_margin = 3.236034 if GB64_district_name == "HIGH PEAK"
replace GB64_margin = 4.559107 if GB64_district_name == "HITCHIN"
replace GB64_margin = 9.433187 if GB64_district_name == "HOLBORN AND ST.PANCRAS"
replace GB64_margin = 10.71898 if GB64_district_name == "HOLLAND WITH BOSTON"
replace GB64_margin = 29.35637 if GB64_district_name == "HONITON"
replace GB64_margin = 24.35324 if GB64_district_name == "HORNCASTLE"
replace GB64_margin = .314698 if GB64_district_name == "HORNCHURCH"
replace GB64_margin = 8.394123 if GB64_district_name == "HORNSEY"
replace GB64_margin = 14.46857 if GB64_district_name == "HORSHAM"
replace GB64_margin = 49.6431 if GB64_district_name == "HOUGHTON-LE-SPRING"
replace GB64_margin = 36.78875 if GB64_district_name == "HOVE"
replace GB64_margin = 28.29049 if GB64_district_name == "HOWDEN"
replace GB64_margin = 20.55585 if GB64_district_name == "HUDDERSFIELD,EAST"
replace GB64_margin = 3.092535 if GB64_district_name == "HUDDERSFIELD,WEST"
replace GB64_margin = 19.77469 if GB64_district_name == "HUNTINGDONSHIRE"
replace GB64_margin = 29.17853 if GB64_district_name == "HUYTON"
replace GB64_margin = 14.66963 if GB64_district_name == "ILFORD,NORTH"
replace GB64_margin = 3.441039 if GB64_district_name == "ILFORD,SOUTH"
replace GB64_margin = 36.14086 if GB64_district_name == "ILKESTON"
replace GB64_margin = 43.98293 if GB64_district_name == "INCE"
replace GB64_margin = 5.977166 if GB64_district_name == "INVERNESS"
replace GB64_margin = 3.924606 if GB64_district_name == "IPSWICH"
replace GB64_margin = 12.4975 if GB64_district_name == "THE ISLE OF ELY"
replace GB64_margin = 12.5923 if GB64_district_name == "ISLE OF THANET"
replace GB64_margin = 21.89001 if GB64_district_name == "ISLE OF WIGHT"
replace GB64_margin = 23.95252 if GB64_district_name == "ISLINGTON,EAST"
replace GB64_margin = 23.55812 if GB64_district_name == "ISLINGTON,NORTH"
replace GB64_margin = 35.44407 if GB64_district_name == "ISLINGTON,SOUTH WEST"
replace GB64_margin = 28.47914 if GB64_district_name == "JARROW"
replace GB64_margin = 6.514713 if GB64_district_name == "KEIGHLEY"
replace GB64_margin = 8.136559 if GB64_district_name == "KENSINGTON,NORTH"
replace GB64_margin = 51.33609 if GB64_district_name == "KENSINGTON,SOUTH"
replace GB64_margin = 10.3711 if GB64_district_name == "KETTERING"
replace GB64_margin = 14.2406 if GB64_district_name == "KIDDERMINSTER"
replace GB64_margin = 35.57607 if GB64_district_name == "KILMARNOCK"
replace GB64_margin = .2428999 if GB64_district_name == "KING'S LYNN"
replace GB64_margin = 29.89086 if GB64_district_name == "KINGSTON-UPON-HULL EAST"
replace GB64_margin = 2.475009 if GB64_district_name == "KINGSTON-UPON-HULL NORTH"
replace GB64_margin = 13.80494 if GB64_district_name == "KINGSTON-UPON-HULL WEST"
replace GB64_margin = 22.81826 if GB64_district_name == "KINGSTON UPON THAMES"
replace GB64_margin = 47.89758 if GB64_district_name == "KINROSS AND WEST PERTHSHIRE"
replace GB64_margin = 30.92577 if GB64_district_name == "KIRKCALDY BURGHS"
replace GB64_margin = 28.53586 if GB64_district_name == "KNUTSFORD"
replace GB64_margin = 16.11135 if GB64_district_name == "LAMBETH,BRIXTON"
replace GB64_margin = 1.164592 if GB64_district_name == "LAMBETH,NORWOOD"
replace GB64_margin = 28.22363 if GB64_district_name == "LAMBETH,VAUXHALL"
replace GB64_margin = 9.64397 if GB64_district_name == "LANARK"
replace GB64_margin = 21.23804 if GB64_district_name == "NORTH LANARKSHIRE"
replace GB64_margin = 7.060129 if GB64_district_name == "LANCASTER"
replace GB64_margin = 15.71221 if GB64_district_name == "LEEDS,EAST"
replace GB64_margin = 21.40048 if GB64_district_name == "LEEDS,NORTH EAST"
replace GB64_margin = 19.14219 if GB64_district_name == "LEEDS,NORTH WEST"
replace GB64_margin = 28.86691 if GB64_district_name == "LEEDS,SOUTH"
replace GB64_margin = 35.34665 if GB64_district_name == "LEEDS,SOUTH EAST"
replace GB64_margin = 15.9971 if GB64_district_name == "LEEDS,WEST"
replace GB64_margin = 6.589166 if GB64_district_name == "LEEK"
replace GB64_margin = 9.87695 if GB64_district_name == "LEICESTER,NORTH EAST"
replace GB64_margin = 11.60163 if GB64_district_name == "LEICESTER,NORTH WEST"
replace GB64_margin = 29.24562 if GB64_district_name == "LEICESTER,SOUTH EAST"
replace GB64_margin = 11.95655 if GB64_district_name == "LEICESTER,SOUTH WEST"
replace GB64_margin = 35.04711 if GB64_district_name == "LEIGH"
replace GB64_margin = 21.03979 if GB64_district_name == "LEOMINSTER"
replace GB64_margin = 28.99235 if GB64_district_name == "LEWES"
replace GB64_margin = .9087778 if GB64_district_name == "LEWISHAM,NORTH"
replace GB64_margin = 19.83799 if GB64_district_name == "LEWISHAM,SOUTH"
replace GB64_margin = 2.183826 if GB64_district_name == "LEWISHAM,WEST"
replace GB64_margin = 16.88107 if GB64_district_name == "LEYTON"
replace GB64_margin = 8.175158 if GB64_district_name == "LICHFIELD AND TAMWORTH"
replace GB64_margin = 11.44145 if GB64_district_name == "LINCOLN"
replace GB64_margin = 18.07962 if GB64_district_name == "LIVERPOOL,EDGE HILL"
replace GB64_margin = 40.23283 if GB64_district_name == "LIVERPOOL,EXCHANGE"
replace GB64_margin = 13.36664 if GB64_district_name == "LIVERPOOL,GARSTON"
replace GB64_margin = 11.05716 if GB64_district_name == "LIVERPOOL,KIRKDALE"
replace GB64_margin = 40.57544 if GB64_district_name == "LIVERPOOL,SCOTLAND"
replace GB64_margin = 8.873024 if GB64_district_name == "LIVERPOOL,TOXTETH"
replace GB64_margin = 7.265363 if GB64_district_name == "LIVERPOOL,WALTON"
replace GB64_margin = 19.82955 if GB64_district_name == "LIVERPOOL,WAVERTREE"
replace GB64_margin = 9.352444 if GB64_district_name == "LIVERPOOL,WEST DERBY"
replace GB64_margin = 53.12203 if GB64_district_name == "LLANELLI"
replace GB64_margin = 27.7931 if GB64_district_name == "CITIES OF LONDON AND WESTMINSTER"
replace GB64_margin = 28.18115 if GB64_district_name == "LONDONDERRY COUNTY"
replace GB64_margin = 9.522781 if GB64_district_name == "LOUGHBOROUGH"
replace GB64_margin = 16.23236 if GB64_district_name == "LOUTH"
replace GB64_margin = 5.390857 if GB64_district_name == "LOWESTOFT"
replace GB64_margin = 17.7263 if GB64_district_name == "LUDLOW"
replace GB64_margin = 1.527056 if GB64_district_name == "LUTON"
replace GB64_margin = 12.16922 if GB64_district_name == "MACCLESFIELD"
replace GB64_margin = 14.84308 if GB64_district_name == "MAIDSTONE"
replace GB64_margin = 3.22404 if GB64_district_name == "MALDON"
replace GB64_margin = 22.41098 if GB64_district_name == "MANCHESTER,ARDWICK"
replace GB64_margin = 2.720392 if GB64_district_name == "MANCHESTER,BLACKLEY"
replace GB64_margin = 32.56227 if GB64_district_name == "MANCHESTER,CHEETHAM"
replace GB64_margin = 38.17966 if GB64_district_name == "MANCHESTER,EXCHANGE"
replace GB64_margin = 10.21679 if GB64_district_name == "MANCHESTER,GORTON"
replace GB64_margin = 12.88278 if GB64_district_name == "MANCHESTER,MOSS SIDE"
replace GB64_margin = 24.26496 if GB64_district_name == "MANCHESTER,OPENSHAW"
replace GB64_margin = 12.46969 if GB64_district_name == "MANCHESTER,WITHINGTON"
replace GB64_margin = 8.485053 if GB64_district_name == "MANCHESTER,WYTHENSHAWE"
replace GB64_margin = 41.64624 if GB64_district_name == "MANSFIELD"
replace GB64_margin = 20.78606 if GB64_district_name == "MELTON"
replace GB64_margin = .6206508 if GB64_district_name == "MERIDEN"
replace GB64_margin = 5.691761 if GB64_district_name == "MERIONETH"
replace GB64_margin = 59.8577 if GB64_district_name == "MERTHYR TYDFIL"
replace GB64_margin = 6.816576 if GB64_district_name == "MERTON AND MORDEN"
replace GB64_margin = 38.99738 if GB64_district_name == "MIDDLESBROUGH,EAST"
replace GB64_margin = 2.574249 if GB64_district_name == "MIDDLESBROUGH,WEST"
replace GB64_margin = 3.842956 if GB64_district_name == "MIDDLETON AND PRESTWICK"
replace GB64_margin = 22.51186 if GB64_district_name == "MIDLOTHIAN"
replace GB64_margin = 7.268538 if GB64_district_name == "MITCHAM"
replace GB64_margin = 6.837261 if GB64_district_name == "MONMOUTH"
replace GB64_margin = 15.64902 if GB64_district_name == "MONTGOMERY"
replace GB64_margin = 23.59775 if GB64_district_name == "MORAY AND NAIRN"
replace GB64_margin = 26.89814 if GB64_district_name == "MORECAMBE AND LONSDALE"
replace GB64_margin = 45.40494 if GB64_district_name == "MORPETH"
replace GB64_margin = 21.42551 if GB64_district_name == "MOTHERWELL"
replace GB64_margin = 15.97548 if GB64_district_name == "NANTWICH"
replace GB64_margin = 52.87795 if GB64_district_name == "NEATH"
replace GB64_margin = 7.001006 if GB64_district_name == "NELSON AND COLNE"
replace GB64_margin = 8.715158 if GB64_district_name == "NEWARK"
replace GB64_margin = 10.89577 if GB64_district_name == "NEWBURY"
replace GB64_margin = 15.9812 if GB64_district_name == "NEWCASTLE UNDER LYME"
replace GB64_margin = 43.66178 if GB64_district_name == "NEWCASTLE-UPON-TYNE CENTRAL"
replace GB64_margin = 4.033762 if GB64_district_name == "NEWCASTLE-UPON-TYNE EAST"
replace GB64_margin = 21.82278 if GB64_district_name == "NEWCASTLE-UPON-TYNE NORTH"
replace GB64_margin = 16.65747 if GB64_district_name == "NEWCASTLE-UPONTYNE WEST"
replace GB64_margin = 28.60147 if GB64_district_name == "NEW FOREST"
replace GB64_margin = 14.94848 if GB64_district_name == "NEWPORT"
replace GB64_margin = 25.41517 if GB64_district_name == "NEWTON"
replace GB64_margin = 12.02732 if GB64_district_name == "CENTRAL NORFOLK"
replace GB64_margin = .1370678 if GB64_district_name == "NORTH NORFOLK"
replace GB64_margin = 5.852631 if GB64_district_name == "SOUTH NORFOLK"
replace GB64_margin = .3643365 if GB64_district_name == "SOUTH WEST NORFOLK"
replace GB64_margin = 45.06138 if GB64_district_name == "NORMANTON"
replace GB64_margin = 7.621925 if GB64_district_name == "NORTHAMPTON"
replace GB64_margin = 8.541945 if GB64_district_name == "SOUTH NORTHAMPTONSHIRE"
replace GB64_margin = 30.58857 if GB64_district_name == "NORTH FYLDE"
replace GB64_margin = 12.0137 if GB64_district_name == "NORTHWICH"
replace GB64_margin = 21.83243 if GB64_district_name == "NORWICH,NORTH"
replace GB64_margin = 1.729164 if GB64_district_name == "NORWICH,SOUTH"
replace GB64_margin = 5.326392 if GB64_district_name == "NOTTINGHAM,CENTRAL"
replace GB64_margin = 17.32763 if GB64_district_name == "NOTTINGHAM,NORTH"
replace GB64_margin = 4.963959 if GB64_district_name == "NOTTINGHAM,SOUTH"
replace GB64_margin = 5.230727 if GB64_district_name == "NOTTINGHAM,WEST"
replace GB64_margin = 23.70313 if GB64_district_name == "NUNEATON"
replace GB64_margin = 51.02137 if GB64_district_name == "OGMORE"
replace GB64_margin = 1.682847 if GB64_district_name == "OLDBURY AND HALESOWEN"
replace GB64_margin = 9.860286 if GB64_district_name == "OLDHAM,EAST"
replace GB64_margin = 17.51769 if GB64_district_name == "OLDHAM,WEST"
replace GB64_margin = 42.61057 if GB64_district_name == "ORKNEY AND ZETLAND"
replace GB64_margin = 25.1541 if GB64_district_name == "ORMSKIRK"
replace GB64_margin = 6.56256 if GB64_district_name == "ORPINGTON"
replace GB64_margin = 17.6779 if GB64_district_name == "OSWESTRY"
replace GB64_margin = 2.759113 if GB64_district_name == "OXFORD"
replace GB64_margin = 15.71734 if GB64_district_name == "PADDINGTON,NORTH"
replace GB64_margin = 16.53612 if GB64_district_name == "PADDINGTON,SOUTH"
replace GB64_margin = 19.06188 if GB64_district_name == "PAISLEY"
replace GB64_margin = 16.94761 if GB64_district_name == "PEMBROKE"
replace GB64_margin = 32.56327 if GB64_district_name == "PENISTONE"
replace GB64_margin = 26.19216 if GB64_district_name == "PENRITH AND THE BORDERS"
replace GB64_margin = 33.2542 if GB64_district_name == "PERTH AND EAST PERTHSHIRE"
replace GB64_margin = 5.066403 if GB64_district_name == "PETERBOROUGH"
replace GB64_margin = 28.05994 if GB64_district_name == "PETERSFIELD"
replace GB64_margin = 8.083646 if GB64_district_name == "PLYMOUTH,DEVONPORT"
replace GB64_margin = .7267313 if GB64_district_name == "PLYMOUTH,SUTTON"
replace GB64_margin = 52.32199 if GB64_district_name == "PONTEFRACT"
replace GB64_margin = 52.6988 if GB64_district_name == "PONTYPOOL"
replace GB64_margin = 42.69907 if GB64_district_name == "PONTYPRIDD"
replace GB64_margin = 15.67611 if GB64_district_name == "POOLE"
replace GB64_margin = 55.42862 if GB64_district_name == "POPLAR"
replace GB64_margin = 14.30981 if GB64_district_name == "PORTSMOUTH,LANGSTON"
replace GB64_margin = 27.37719 if GB64_district_name == "PORTSMOUTH,SOUTH"
replace GB64_margin = 1.342264 if GB64_district_name == "PORTSMOUTH,WEST"
replace GB64_margin = .0340483 if GB64_district_name == "PRESTON,NORTH"
replace GB64_margin = .9072896 if GB64_district_name == "PRESTON,SOUTH"
replace GB64_margin = 11.80919 if GB64_district_name == "PUDSEY"
replace GB64_margin = .0211064 if GB64_district_name == "READING"
replace GB64_margin = 18.61826 if GB64_district_name == "REIGATE"
replace GB64_margin = 21.40027 if GB64_district_name == "EAST RENFREWSHIRE"
replace GB64_margin = 2.391315 if GB64_district_name == "WEST RENFREWSHIRE"
replace GB64_margin = 59.45355 if GB64_district_name == "RHONDDA,EAST"
replace GB64_margin = 68.71628 if GB64_district_name == "RHONDDA,WEST"
replace GB64_margin = 18.49918 if GB64_district_name == "RICHMOND (SURREY)"
replace GB64_margin = 38.19006 if GB64_district_name == "RICHMOND (YORKSHIRE)"
replace GB64_margin = 31.75768 if GB64_district_name == "RIPON"
replace GB64_margin = 17.74696 if GB64_district_name == "ROCHDALE"
replace GB64_margin = 1.974313 if GB64_district_name == "ROCHESTER AND CHATHAM"
replace GB64_margin = 10.67159 if GB64_district_name == "ROMFORD"
replace GB64_margin = 8.17738 if GB64_district_name == "ROSS AND CROMARTY"
replace GB64_margin = 7.931618 if GB64_district_name == "ROSSENDALE"
replace GB64_margin = 32.96539 if GB64_district_name == "ROTHERHAM"
replace GB64_margin = 48.84484 if GB64_district_name == "ROTHER VALLEY"
replace GB64_margin = 20.42847 if GB64_district_name == "ROWLEY REGIS AND TIPTON"
replace GB64_margin = 3.933588 if GB64_district_name == "ROXBURGH, SELKIRK AND PEEBLES"
replace GB64_margin = 3.966744 if GB64_district_name == "RUGBY"
replace GB64_margin = 24.15802 if GB64_district_name == "RUISLIP-NORTHWOOD"
replace GB64_margin = 16.93073 if GB64_district_name == "RUNCORN"
replace GB64_margin = 5.273868 if GB64_district_name == "RUSHCLIFFE"
replace GB64_margin = 9.743675 if GB64_district_name == "RUTHERGLEN"
replace GB64_margin = 11.06497 if GB64_district_name == "RUTLAND AND STAMFORD"
replace GB64_margin = 37.29514 if GB64_district_name == "RYE"
replace GB64_margin = 11.85293 if GB64_district_name == "SAFFRON WALDON"
replace GB64_margin = 11.72823 if GB64_district_name == "ST.ALBANS"
replace GB64_margin = 33.96778 if GB64_district_name == "ST.HELENS"
replace GB64_margin = 13.35215 if GB64_district_name == "ST.IVES"
replace GB64_margin = 27.29304 if GB64_district_name == "ST.MARYLEBONE"
replace GB64_margin = 25.47456 if GB64_district_name == "ST.PANCRAS NORTH"
replace GB64_margin = 22.22533 if GB64_district_name == "SALFORD,EAST"
replace GB64_margin = 10.94867 if GB64_district_name == "SALFORD,WEST"
replace GB64_margin = 13.86015 if GB64_district_name == "SALISBURY"
replace GB64_margin = 16.07931 if GB64_district_name == "SCARBOROUGH AND WHITBY"
replace GB64_margin = 21.31795 if GB64_district_name == "SEDGEFIELD"
replace GB64_margin = 24.89295 if GB64_district_name == "SEVENOAKS"
replace GB64_margin = 44.28943 if GB64_district_name == "SHEFFIELD,ATTERCLIFFE"
replace GB64_margin = 44.91666 if GB64_district_name == "SHEFFIELD,BRIGHTSIDE"
replace GB64_margin = 27.9975 if GB64_district_name == "SHEFFIELD,HALLAM"
replace GB64_margin = 2.965025 if GB64_district_name == "SHEFFIELD,HEELEY"
replace GB64_margin = 24.87482 if GB64_district_name == "SHEFFIELD,HILLSBOROUGH"
replace GB64_margin = 51.16831 if GB64_district_name == "SHEFFIELD,PARK"
replace GB64_margin = 8.874981 if GB64_district_name == "SHIPLEY"
replace GB64_margin = 36.79702 if GB64_district_name == "SHOREDITCH AND FINSBURY"
replace GB64_margin = 15.27571 if GB64_district_name == "SHREWSBURY"
replace GB64_margin = 17.04596 if GB64_district_name == "SKIPTON"
replace GB64_margin = 5.062786 if GB64_district_name == "SMETHWICK"
replace GB64_margin = 37.4598 if GB64_district_name == "SOLIHULL"
replace GB64_margin = 6.534029 if GB64_district_name == "NORTH SOMERSET"
replace GB64_margin = 5.045884 if GB64_district_name == "SOUTHALL"
replace GB64_margin = 18.15948 if GB64_district_name == "SOUTHAMPTON,ITCHEN"
replace GB64_margin = .6816579 if GB64_district_name == "SOUTHAMPTON,TEST"
replace GB64_margin = 7.92627 if GB64_district_name == "SOUTHEND EAST"
replace GB64_margin = 21.78482 if GB64_district_name == "SOUTHEND WEST"
replace GB64_margin = 36.46489 if GB64_district_name == "SOUTH FYLDE"
replace GB64_margin = 31.13096 if GB64_district_name == "SOUTHGATE"
replace GB64_margin = 26.7799 if GB64_district_name == "SOUTHPORT"
replace GB64_margin = 24.77958 if GB64_district_name == "SOUTH SHIELDS"
replace GB64_margin = 42.5402 if GB64_district_name == "SOUTHWARK"
replace GB64_margin = 8.446812 if GB64_district_name == "SOWERBY"
replace GB64_margin = 11.49136 if GB64_district_name == "SPELTHORNE"
replace GB64_margin = 13.42354 if GB64_district_name == "STAFFORD AND STONE"
replace GB64_margin = 7.983125 if GB64_district_name == "STALYBRIDGE AND HYDE"
replace GB64_margin = 50.69222 if GB64_district_name == "STEPNEY"
replace GB64_margin = 14.76125 if GB64_district_name == "STIRLING AND FALKIRK"
replace GB64_margin = 26.55324 if GB64_district_name == "CLACKMANNAN AND EAST STIRLINGSHIRE"
replace GB64_margin = 17.5385 if GB64_district_name == "WEST STIRLINGSHIRE"
replace GB64_margin = 4.465208 if GB64_district_name == "STOCKPORT NORTH"
replace GB64_margin = 8.081427 if GB64_district_name == "STOCKPORT SOUTH"
replace GB64_margin = 15.11994 if GB64_district_name == "STOCKTON-ON-TEES"
replace GB64_margin = 28.81615 if GB64_district_name == "STOKE NEWINGTON AND HACKNEY NORTH"
replace GB64_margin = 28.31142 if GB64_district_name == "STOKE ON TRENT,CENTRAL"
replace GB64_margin = 29.47499 if GB64_district_name == "STOKE ON TRENT,NORTH"
replace GB64_margin = 21.12128 if GB64_district_name == "STOKE ON TRENT,SOUTH"
replace GB64_margin = 24.52013 if GB64_district_name == "STRATFORD"
replace GB64_margin = 3.500218 if GB64_district_name == "STRETFORD"
replace GB64_margin = 5.892229 if GB64_district_name == "STROUD"
replace GB64_margin = 16.46229 if GB64_district_name == "SUDBURY AND WOODBRIDGE"
replace GB64_margin = 13.43831 if GB64_district_name == "SUNDERLAND NORTH"
replace GB64_margin = 3.11741 if GB64_district_name == "SUNDERLAND SOUTH"
replace GB64_margin = 21.16681 if GB64_district_name == "SURBITON"
replace GB64_margin = 27.7313 if GB64_district_name == "EAST SURREY"
replace GB64_margin = 25.51729 if GB64_district_name == "SUTTON AND CHEAM"
replace GB64_margin = 29.39948 if GB64_district_name == "SUTTON COLDFIELD"
replace GB64_margin = 54.44085 if GB64_district_name == "SWANSEA,EAST"
replace GB64_margin = 5.485408 if GB64_district_name == "SWANSEA,WEST"
replace GB64_margin = 22.27241 if GB64_district_name == "SWINDON"
replace GB64_margin = 10.33747 if GB64_district_name == "TAUNTON"
replace GB64_margin = 13.2314 if GB64_district_name == "TAVISTOCK"
replace GB64_margin = 32.77291 if GB64_district_name == "THIRSK AND MALTON"
replace GB64_margin = 29.68482 if GB64_district_name == "THURROCK"
replace GB64_margin = 12.83329 if GB64_district_name == "TIVERTON"
replace GB64_margin = 15.50751 if GB64_district_name == "TONBRIDGE"
replace GB64_margin = 27.55215 if GB64_district_name == "TORQUAY"
replace GB64_margin = 5.500439 if GB64_district_name == "TORRINGTON"
replace GB64_margin = 20.81101 if GB64_district_name == "TOTNES"
replace GB64_margin = 22.16192 if GB64_district_name == "TOTTENHAM"
replace GB64_margin = 9.094334 if GB64_district_name == "TRURO"
replace GB64_margin = 21.76419 if GB64_district_name == "TWICKENHAM"
replace GB64_margin = 12.57343 if GB64_district_name == "TYNEMOUTH"
replace GB64_margin = 11.99243 if GB64_district_name == "ULSTER MID"
replace GB64_margin = 1.388505 if GB64_district_name == "UXBRIDGE"
replace GB64_margin = 25.14067 if GB64_district_name == "WAKEFIELD"
replace GB64_margin = 11.36064 if GB64_district_name == "WALLASEY"
replace GB64_margin = 20.84566 if GB64_district_name == "WALLSEND"
replace GB64_margin = 22.76014 if GB64_district_name == "WALSALL,NORTH"
replace GB64_margin = 14.12469 if GB64_district_name == "WALSALL,SOUTH"
replace GB64_margin = 1.199623 if GB64_district_name == "WALTHAMSTOW,EAST"
replace GB64_margin = 29.75958 if GB64_district_name == "WALTHAMSTOW,WEST"
replace GB64_margin = 5.186434 if GB64_district_name == "WANDSWORTH,CENTRAL"
replace GB64_margin = 1.454888 if GB64_district_name == "WANDSWORTH,CLAPHAM"
replace GB64_margin = 2.388916 if GB64_district_name == "WANDSWORTH,PUTNEY"
replace GB64_margin = 19.65853 if GB64_district_name == "WANDSWORTH,STREATHAM"
replace GB64_margin = 30.16837 if GB64_district_name == "WANSTEAD AND WOODFORD"
replace GB64_margin = 25.72914 if GB64_district_name == "WARRINGTON"
replace GB64_margin = 19.6853 if GB64_district_name == "WARWICK AND LEAMINGTON"
replace GB64_margin = 3.306154 if GB64_district_name == "WATFORD"
replace GB64_margin = 7.368951 if GB64_district_name == "WEDNESBURY"
replace GB64_margin = .1013718 if GB64_district_name == "WELLINGBOROUGH"
replace GB64_margin = 11.66162 if GB64_district_name == "WELLS"
replace GB64_margin = 17.16096 if GB64_district_name == "WEMBLEY NORTH"
replace GB64_margin = 12.52905 if GB64_district_name == "WEMBLEY SOUTH"
replace GB64_margin = 10.28217 if GB64_district_name == "WEST BROMWICH"
replace GB64_margin = 10.60111 if GB64_district_name == "WESTBURY"
replace GB64_margin = 24.26345 if GB64_district_name == "WESTERN ISLES"
replace GB64_margin = 40.54794 if GB64_district_name == "WEST HAM NORTH"
replace GB64_margin = 60.99754 if GB64_district_name == "WEST HAM SOUTH"
replace GB64_margin = 23.49807 if GB64_district_name == "WESTHOUGHTON"
replace GB64_margin = 19.87124 if GB64_district_name == "WEST LOTHIAN"
replace GB64_margin = 21.77513 if GB64_district_name == "WESTMORLAND"
replace GB64_margin = 29.11341 if GB64_district_name == "WESTON SUPER MARE"
replace GB64_margin = 20.22115 if GB64_district_name == "WHITEHAVEN"
replace GB64_margin = 13.65475 if GB64_district_name == "WIDNES"
replace GB64_margin = 41.16678 if GB64_district_name == "WIGAN"
replace GB64_margin = 4.54985 if GB64_district_name == "WILLESDEN,EAST"
replace GB64_margin = 28.72237 if GB64_district_name == "WILLESDEN,WEST"
replace GB64_margin = 23.03001 if GB64_district_name == "WIMBLEDON"
replace GB64_margin = 22.23566 if GB64_district_name == "WINCHESTER"
replace GB64_margin = 23.17185 if GB64_district_name == "WINDSOR"
replace GB64_margin = 22.83669 if GB64_district_name == "WIRRAL"
replace GB64_margin = 22.12012 if GB64_district_name == "WOKING"
replace GB64_margin = 22.71689 if GB64_district_name == "WOKINGHAM"
replace GB64_margin = 12.04034 if GB64_district_name == "WOLVERHAMPTON NORTH EAST"
replace GB64_margin = 26.04032 if GB64_district_name == "WOLVERHAMPTON SOUTH WEST"
replace GB64_margin = 13.28897 if GB64_district_name == "WOOD GREEN"
replace GB64_margin = 36.52075 if GB64_district_name == "WOOLWICH,EAST"
replace GB64_margin = 4.032057 if GB64_district_name == "WOOLWICH,WEST"
replace GB64_margin = 15.2767 if GB64_district_name == "WORCESTER"
replace GB64_margin = 26.38422 if GB64_district_name == "SOUTH WORCESTERSHIRE"
replace GB64_margin = 24.23394 if GB64_district_name == "WORKINGTON"
replace GB64_margin = 38.14825 if GB64_district_name == "WORTHING"
replace GB64_margin = 6.013608 if GB64_district_name == "THE WREKIN"
replace GB64_margin = 25.2677 if GB64_district_name == "WREXHAM"
replace GB64_margin = 15.13257 if GB64_district_name == "WYCOMBE"
replace GB64_margin = 4.447672 if GB64_district_name == "YARMOUTH"
replace GB64_margin = 9.216554 if GB64_district_name == "YEOVIL"
replace GB64_margin = 1.836543 if GB64_district_name == "YORK"

* Effective number of electoral parties by district

gen GB64_enep = .

replace GB64_enep = 1.769782 if GB64_district_name == "ABERAVON"
replace GB64_enep = 1.592866 if GB64_district_name == "ABERDARE"
replace GB64_enep = 1.749693 if GB64_district_name == "ABERDEEN NORTH"
replace GB64_enep = 2.164685 if GB64_district_name == "ABERDEEN SOUTH"
replace GB64_enep = 2.952785 if GB64_district_name == "EAST ABERDEENSHIRE"
replace GB64_enep = 2.722392 if GB64_district_name == "WEST ABERDEENSHIRE"
replace GB64_enep = 1.319679 if GB64_district_name == "ABERTILLERY"
replace GB64_enep = 2.579943 if GB64_district_name == "ABINGDON"
replace GB64_enep = 2.501304 if GB64_district_name == "ACCRINGTON"
replace GB64_enep = 2.346503 if GB64_district_name == "ACTON"
replace GB64_enep = 2.574129 if GB64_district_name == "ALDERSHOT"
replace GB64_enep = 2.769884 if GB64_district_name == "ALTRINCHAM AND SALE"
replace GB64_enep = 2.938233 if GB64_district_name == "ANGLESEY"
replace GB64_enep = 2.584788 if GB64_district_name == "NORTH ANGUS AND MEARNS"
replace GB64_enep = 2.344574 if GB64_district_name == "SOUTH ANGUS"
replace GB64_enep = 1.216561 if GB64_district_name == "ANTRIM NORTH"
replace GB64_enep = 1.812548 if GB64_district_name == "ANTRIM SOUTH"
replace GB64_enep = 2.75015 if GB64_district_name == "ARGYLL"
replace GB64_enep = 2.041542 if GB64_district_name == "ARMAGH"
replace GB64_enep = 2.364623 if GB64_district_name == "ARUNDEL AND SHOREHAM"
replace GB64_enep = 1.654631 if GB64_district_name == "ASHFIELD"
replace GB64_enep = 2.675108 if GB64_district_name == "ASHFORD"
replace GB64_enep = 1.983628 if GB64_district_name == "ASHTON UNDER LYNE"
replace GB64_enep = 2.707988 if GB64_district_name == "AYLESBURY"
replace GB64_enep = 1.996082 if GB64_district_name == "AYR"
replace GB64_enep = 1.967372 if GB64_district_name == "CENTRAL AYRSHIRE"
replace GB64_enep = 2.510927 if GB64_district_name == "BUTE AND NORTH AYRSHIRE"
replace GB64_enep = 1.799787 if GB64_district_name == "SOUTH AYRSHIRE"
replace GB64_enep = 2.577657 if GB64_district_name == "BANBURY"
replace GB64_enep = 2.742334 if GB64_district_name == "BANFF"
replace GB64_enep = 2.150537 if GB64_district_name == "BARKING"
replace GB64_enep = 1.939681 if GB64_district_name == "BARKSTON ASH"
replace GB64_enep = 2.730341 if GB64_district_name == "BARNET"
replace GB64_enep = 1.994244 if GB64_district_name == "BARNSLEY"
replace GB64_enep = 2.34086 if GB64_district_name == "BARONS COURT"
replace GB64_enep = 1.979187 if GB64_district_name == "BARROW IN FURNESS"
replace GB64_enep = 1.987094 if GB64_district_name == "BARRY"
replace GB64_enep = 2.575507 if GB64_district_name == "BASINGSTOKE"
replace GB64_enep = 1.936875 if GB64_district_name == "BASSETLAW"
replace GB64_enep = 2.768349 if GB64_district_name == "BATH"
replace GB64_enep = 2.512821 if GB64_district_name == "BATLEY AND MORLEY"
replace GB64_enep = 2.095404 if GB64_district_name == "BATTERSEA,NORTH"
replace GB64_enep = 2.501055 if GB64_district_name == "BATTERSEA,SOUTH"
replace GB64_enep = 2.527449 if GB64_district_name == "BEBINGTON"
replace GB64_enep = 2.536493 if GB64_district_name == "BECKENHAM"
replace GB64_enep = 2.637371 if GB64_district_name == "BEDFORD"
replace GB64_enep = 2.697484 if GB64_district_name == "MID-BEDFORDSHIRE"
replace GB64_enep = 1.999949 if GB64_district_name == "SOUTH BEDFORDSHIRE"
replace GB64_enep = 1.380084 if GB64_district_name == "BEDWELLTY"
replace GB64_enep = 2.068085 if GB64_district_name == "BELFAST EAST"
replace GB64_enep = 2.081693 if GB64_district_name == "BELFAST NORTH"
replace GB64_enep = 1.852391 if GB64_district_name == "BELFAST SOUTH"
replace GB64_enep = 2.874659 if GB64_district_name == "BELFAST WEST"
replace GB64_enep = 2.581509 if GB64_district_name == "BELPER"
replace GB64_enep = 1.489219 if GB64_district_name == "BERMONDSEY"
replace GB64_enep = 1.999572 if GB64_district_name == "BERWICK AND EAST LOTHIAN"
replace GB64_enep = 2.668332 if GB64_district_name == "BERWICK UPON TWEED"
replace GB64_enep = 2.081228 if GB64_district_name == "BETHNAL GREEN"
replace GB64_enep = 2.567003 if GB64_district_name == "BEXLEY"
replace GB64_enep = 2.544237 if GB64_district_name == "BILLERICAY"
replace GB64_enep = 1.99218 if GB64_district_name == "BILSTON"
replace GB64_enep = 1.962023 if GB64_district_name == "BIRKENHEAD"
replace GB64_enep = 1.999492 if GB64_district_name == "BIRMINGHAM,ALL SAINTS"
replace GB64_enep = 1.982336 if GB64_district_name == "BIRMINGHAM,ASTON"
replace GB64_enep = 1.784942 if GB64_district_name == "BIRMINGHAM,EDGBASTON"
replace GB64_enep = 2.489725 if GB64_district_name == "BIRMINGHAM,HALL GREEN"
replace GB64_enep = 2.705527 if GB64_district_name == "BIRMINGHAM,HANDSWORTH"
replace GB64_enep = 1.869628 if GB64_district_name == "BIRMINGHAM,LADYWOOD"
replace GB64_enep = 2.490566 if GB64_district_name == "BIRMINGHAM,NORTHFIED"
replace GB64_enep = 1.999841 if GB64_district_name == "BIRMINGHAM,PERRY BARR"
replace GB64_enep = 1.962456 if GB64_district_name == "BIRMINGHAM,SELLY OAK"
replace GB64_enep = 2.00929 if GB64_district_name == "BIRMINGHAM,SMALL HEATH"
replace GB64_enep = 1.996799 if GB64_district_name == "BIRMINGHAM,SPARKBROOK"
replace GB64_enep = 1.963383 if GB64_district_name == "BIRMINGHAM,STECHFORD"
replace GB64_enep = 1.999972 if GB64_district_name == "BIRMINGHAM,YARDLEY"
replace GB64_enep = 1.894243 if GB64_district_name == "BISHOP AUCKLAND"
replace GB64_enep = 1.956436 if GB64_district_name == "BLACKBURN"
replace GB64_enep = 2.760763 if GB64_district_name == "BLACKPOOL,NORTH"
replace GB64_enep = 1.946093 if GB64_district_name == "BLACKPOOL,SOUTH"
replace GB64_enep = 1.810601 if GB64_district_name == "BLAYDON"
replace GB64_enep = 1.575968 if GB64_district_name == "BLYTH"
replace GB64_enep = 2.438198 if GB64_district_name == "BODMIN"
replace GB64_enep = 1.487606 if GB64_district_name == "BOLSOVER"
replace GB64_enep = 2.570254 if GB64_district_name == "BOLTON,EAST"
replace GB64_enep = 2.888471 if GB64_district_name == "BOLTON,WEST"
replace GB64_enep = 1.891047 if GB64_district_name == "BOOTLE"
replace GB64_enep = 2.711621 if GB64_district_name == "BOSWORTH"
replace GB64_enep = 1.91709 if GB64_district_name == "BOTHWELL"
replace GB64_enep = 2.420104 if GB64_district_name == "BOURNEMOUTH EAST AND CHRISTCHURCH"
replace GB64_enep = 2.643944 if GB64_district_name == "BOURNEMOUTH WEST"
replace GB64_enep = 1.893863 if GB64_district_name == "BRADFORD,EAST"
replace GB64_enep = 2.645115 if GB64_district_name == "BRADFORD,NORTH"
replace GB64_enep = 2.618969 if GB64_district_name == "BRADFORD,SOUTH"
replace GB64_enep = 1.987124 if GB64_district_name == "BRADFORD,WEST"
replace GB64_enep = 2.113502 if GB64_district_name == "BRECON AND RADNOR"
replace GB64_enep = 2.396222 if GB64_district_name == "BRENTFORD AND CHISWICK"
replace GB64_enep = 2.950243 if GB64_district_name == "BRIDGWATER"
replace GB64_enep = 2.415753 if GB64_district_name == "BRIDLINGTON"
replace GB64_enep = 2.104406 if GB64_district_name == "BRIERLEY HILL"
replace GB64_enep = 2.44842 if GB64_district_name == "BRIGG"
replace GB64_enep = 2.55347 if GB64_district_name == "BRIGHOUSE AND SPENBOROUGH"
replace GB64_enep = 2 if GB64_district_name == "BRIGHTON,KEMPTOWN"
replace GB64_enep = 2.520019 if GB64_district_name == "BRIGHTON,PAVILION"
replace GB64_enep = 2.206568 if GB64_district_name == "BRISTOL,CENTRAL"
replace GB64_enep = 2.369402 if GB64_district_name == "BRISTOL,NORTH EAST"
replace GB64_enep = 2.488319 if GB64_district_name == "BRISTOL,NORTH WEST"
replace GB64_enep = 1.864393 if GB64_district_name == "BRISTOL,SOUTH"
replace GB64_enep = 1.920689 if GB64_district_name == "BRISTOL,SOUTH EAST"
replace GB64_enep = 2.39843 if GB64_district_name == "BRISTOL,WEST"
replace GB64_enep = 2.62615 if GB64_district_name == "BROMLEY"
replace GB64_enep = 2.524304 if GB64_district_name == "BROMSGROVE"
replace GB64_enep = 2.451357 if GB64_district_name == "BUCKINGHAM"
replace GB64_enep = 2.561795 if GB64_district_name == "SOUTH BUCKINGHAMSHIRE"
replace GB64_enep = 2.36017 if GB64_district_name == "BURNLEY"
replace GB64_enep = 1.991617 if GB64_district_name == "BURTON"
replace GB64_enep = 2.567489 if GB64_district_name == "BURY AND RADCLIFFE"
replace GB64_enep = 2.366628 if GB64_district_name == "BURY ST.EDMUNDS"
replace GB64_enep = 2.49891 if GB64_district_name == "CAERNARVON"
replace GB64_enep = 1.782377 if GB64_district_name == "CAERPHILLY"
replace GB64_enep = 3.548491 if GB64_district_name == "CAITHNESS AND SUTHERLAND"
replace GB64_enep = 2.501192 if GB64_district_name == "CAMBERWELL,DULWICH"
replace GB64_enep = 1.851184 if GB64_district_name == "CAMBERWELL,PECKHAM"
replace GB64_enep = 2.645746 if GB64_district_name == "CAMBRIDGE"
replace GB64_enep = 2.643663 if GB64_district_name == "CAMBRIDGESHIRE"
replace GB64_enep = 1.955648 if GB64_district_name == "CANNOCK"
replace GB64_enep = 2.55507 if GB64_district_name == "CANTERBURY"
replace GB64_enep = 2.748125 if GB64_district_name == "CARDIFF,NORTH"
replace GB64_enep = 1.956226 if GB64_district_name == "CARDIFF,SOUTH EAST"
replace GB64_enep = 1.93494 if GB64_district_name == "CARDIFF,WEST"
replace GB64_enep = 3.398014 if GB64_district_name == "CARDIGAN"
replace GB64_enep = 2.598186 if GB64_district_name == "CARLISLE"
replace GB64_enep = 2.633758 if GB64_district_name == "CARLTON"
replace GB64_enep = 2.978947 if GB64_district_name == "CARMARTHEN"
replace GB64_enep = 2.67521 if GB64_district_name == "CARSHALTON"
replace GB64_enep = 2.675672 if GB64_district_name == "CHEADLE"
replace GB64_enep = 2.599754 if GB64_district_name == "CHELMSFORD"
replace GB64_enep = 2.17562 if GB64_district_name == "CHELSEA"
replace GB64_enep = 2.65837 if GB64_district_name == "CHELTENHAM"
replace GB64_enep = 2.644904 if GB64_district_name == "CHERTSEY"
replace GB64_enep = 2.57868 if GB64_district_name == "CITY OF CHESTER"
replace GB64_enep = 2.362164 if GB64_district_name == "CHESTERFIELD"
replace GB64_enep = 1.594993 if GB64_district_name == "CHESTER-LE-STREET"
replace GB64_enep = 2.360295 if GB64_district_name == "CHICHESTER"
replace GB64_enep = 2.538823 if GB64_district_name == "CHIGWELL"
replace GB64_enep = 2.846081 if GB64_district_name == "CHIPPENHAM"
replace GB64_enep = 2.584088 if GB64_district_name == "CHISLEHURST"
replace GB64_enep = 2.412197 if GB64_district_name == "CHORLEY"
replace GB64_enep = 2.525591 if GB64_district_name == "CIRENCESTER AND TEWKESBURY"
replace GB64_enep = 2.687203 if GB64_district_name == "CLEVELAND"
replace GB64_enep = 2.515501 if GB64_district_name == "CLITHEROE"
replace GB64_enep = 1.889183 if GB64_district_name == "COATBRIDGE AND AIRDRIE"
replace GB64_enep = 2.586943 if GB64_district_name == "COLCHESTER"
replace GB64_enep = 2.655092 if GB64_district_name == "COLNE VALLEY"
replace GB64_enep = 1.768275 if GB64_district_name == "CONSETT"
replace GB64_enep = 2.313825 if GB64_district_name == "CONWAY"
replace GB64_enep = 2.437821 if GB64_district_name == "NORTH CORNWALL"
replace GB64_enep = 1.980597 if GB64_district_name == "COVENTRY,EAST"
replace GB64_enep = 2.087616 if GB64_district_name == "COVENTRY,NORTH"
replace GB64_enep = 1.997908 if GB64_district_name == "COVENTRY,SOUTH"
replace GB64_enep = 1.959584 if GB64_district_name == "CREWE"
replace GB64_enep = 2.657079 if GB64_district_name == "CROSBY"
replace GB64_enep = 2.59385 if GB64_district_name == "CROYDON,NORTH EAST"
replace GB64_enep = 2.699296 if GB64_district_name == "CROYDON,NORTH WEST"
replace GB64_enep = 1.99398 if GB64_district_name == "CROYDON,SOUTH"
replace GB64_enep = 2.100127 if GB64_district_name == "DAGENHAM"
replace GB64_enep = 2.549718 if GB64_district_name == "DARLINGTON"
replace GB64_enep = 2.595831 if GB64_district_name == "DARTFORD"
replace GB64_enep = 2.888782 if GB64_district_name == "DARWEN"
replace GB64_enep = 1.450526 if GB64_district_name == "DEARNE VALLEY"
replace GB64_enep = 3.211791 if GB64_district_name == "DENBIGH"
replace GB64_enep = 2.075432 if GB64_district_name == "DEPTFORD"
replace GB64_enep = 2.408945 if GB64_district_name == "DERBY NORTH"
replace GB64_enep = 1.95323 if GB64_district_name == "DERBY SOUTH"
replace GB64_enep = 1.850885 if GB64_district_name == "NORTH EAST DERBYSHIRE"
replace GB64_enep = 1.99955 if GB64_district_name == "SOUTH EAST DERBYSHIRE"
replace GB64_enep = 2.838271 if GB64_district_name == "WEST DERBYSHIRE"
replace GB64_enep = 2.588718 if GB64_district_name == "DEVIZES"
replace GB64_enep = 2.443327 if GB64_district_name == "NORTH DEVON"
replace GB64_enep = 2.623108 if GB64_district_name == "DEWSBURY"
replace GB64_enep = 2.100478 if GB64_district_name == "DONCASTER"
replace GB64_enep = 1.678129 if GB64_district_name == "DON VALLEY"
replace GB64_enep = 2.479814 if GB64_district_name == "DORKING"
replace GB64_enep = 2.563623 if GB64_district_name == "NORTH DORSET"
replace GB64_enep = 2.590139 if GB64_district_name == "SOUTH DORSET"
replace GB64_enep = 2.699885 if GB64_district_name == "WEST DORSET"
replace GB64_enep = 2.445469 if GB64_district_name == "DOVER"
replace GB64_enep = 1.722732 if GB64_district_name == "DOWN NORTH"
replace GB64_enep = 2.441785 if GB64_district_name == "DOWN SOUTH"
replace GB64_enep = 2.392339 if GB64_district_name == "DUDLEY"
replace GB64_enep = 2.470443 if GB64_district_name == "DUMFRIES"
replace GB64_enep = 2.082281 if GB64_district_name == "EAST DUNBARTONSHIRE"
replace GB64_enep = 2.436175 if GB64_district_name == "WEST DUNBARTONSHIRE"
replace GB64_enep = 1.981759 if GB64_district_name == "DUNDEE EAST"
replace GB64_enep = 2.079733 if GB64_district_name == "DUNDEE WEST"
replace GB64_enep = 1.89861 if GB64_district_name == "DUNFERMLINE BURGHS"
replace GB64_enep = 1.762999 if GB64_district_name == "DURHAM"
replace GB64_enep = 1.730129 if GB64_district_name == "NORTH WEST DURHAM"
replace GB64_enep = 2.551666 if GB64_district_name == "EALING,NORTH"
replace GB64_enep = 1.907077 if GB64_district_name == "EALING,SOUTH"
replace GB64_enep = 1.458961 if GB64_district_name == "EASINGTON"
replace GB64_enep = 2.686697 if GB64_district_name == "EASTBOURNE"
replace GB64_enep = 2.531871 if GB64_district_name == "EAST GRINSTEAD"
replace GB64_enep = 1.917702 if GB64_district_name == "EAST HAM,NORTH"
replace GB64_enep = 1.814432 if GB64_district_name == "EAST HAM,SOUTH"
replace GB64_enep = 2.523834 if GB64_district_name == "EASTLEIGH"
replace GB64_enep = 1.377914 if GB64_district_name == "EBBW VALE"
replace GB64_enep = 1.957761 if GB64_district_name == "ECCLES"
replace GB64_enep = 1.987383 if GB64_district_name == "EDINBURGH CENTRAL"
replace GB64_enep = 1.970222 if GB64_district_name == "EDINBURGH EAST"
replace GB64_enep = 1.976107 if GB64_district_name == "EDINBURGH LEITH"
replace GB64_enep = 1.947292 if GB64_district_name == "EDINBURGH NORTH"
replace GB64_enep = 2.534325 if GB64_district_name == "EDINBURGH PENTLANDS"
replace GB64_enep = 2.417933 if GB64_district_name == "EDINBURGH SOUTH"
replace GB64_enep = 2.498349 if GB64_district_name == "EDINBURGH WEST"
replace GB64_enep = 2.45513 if GB64_district_name == "EDMONTON"
replace GB64_enep = 2.537603 if GB64_district_name == "ENFIELD,EAST"
replace GB64_enep = 2.660373 if GB64_district_name == "ENFIELD,WEST"
replace GB64_enep = 2.612706 if GB64_district_name == "EPPING"
replace GB64_enep = 2.471856 if GB64_district_name == "EPSOM"
replace GB64_enep = 2.449193 if GB64_district_name == "ERITH AND CRAYFORD"
replace GB64_enep = 2.427254 if GB64_district_name == "ESHER"
replace GB64_enep = 1.96182 if GB64_district_name == "SOUTH EAST ESSEX"
replace GB64_enep = 2 if GB64_district_name == "ETON AND SLOUGH"
replace GB64_enep = 2.78176 if GB64_district_name == "EXETER"
replace GB64_enep = 2.728355 if GB64_district_name == "EYE"
replace GB64_enep = 2.690755 if GB64_district_name == "FALMOUTH AND CAMBORNE"
replace GB64_enep = 2.600722 if GB64_district_name == "FARNHAM"
replace GB64_enep = 1.890088 if GB64_district_name == "FARNWORTH"
replace GB64_enep = 2.386359 if GB64_district_name == "FAVERSHAM"
replace GB64_enep = 2.530943 if GB64_district_name == "FELTHAM"
replace GB64_enep = 2.469268 if GB64_district_name == "FERMANAGH AND SOUTH TYRONE"
replace GB64_enep = 2.635884 if GB64_district_name == "EAST FIFE"
replace GB64_enep = 1.968551 if GB64_district_name == "WEST FIFE"
replace GB64_enep = 2.764544 if GB64_district_name == "FINCHLEY"
replace GB64_enep = 1.98592 if GB64_district_name == "EAST FLINTSHIRE"
replace GB64_enep = 2.841069 if GB64_district_name == "WEST FLINTSHIRE"
replace GB64_enep = 1.887041 if GB64_district_name == "FOLKESTONE AND HYTHE"
replace GB64_enep = 2.030886 if GB64_district_name == "FULHAM"
replace GB64_enep = 2.720252 if GB64_district_name == "GAINSBOROUGH"
replace GB64_enep = 2.565022 if GB64_district_name == "GALLOWAY"
replace GB64_enep = 1.84471 if GB64_district_name == "GATESHEAD EAST"
replace GB64_enep = 1.748312 if GB64_district_name == "GATESHEAD WEST"
replace GB64_enep = 2.429916 if GB64_district_name == "GILLINGHAM"
replace GB64_enep = 1.685699 if GB64_district_name == "GLASGOW BRIDGETON"
replace GB64_enep = 1.993238 if GB64_district_name == "GLASGOW CATHCART"
replace GB64_enep = 1.720682 if GB64_district_name == "GLASGOW CENTRAL"
replace GB64_enep = 1.945242 if GB64_district_name == "GLASGOW CRAIGTON"
replace GB64_enep = 1.768888 if GB64_district_name == "GLASGOW GORBALS"
replace GB64_enep = 1.930578 if GB64_district_name == "GLASGOW GOVAN"
replace GB64_enep = 1.855222 if GB64_district_name == "GLASGOW HILLHEAD"
replace GB64_enep = 1.986974 if GB64_district_name == "GLASGOW KELVINGROVE"
replace GB64_enep = 1.835089 if GB64_district_name == "GLASGOW MARYHILL"
replace GB64_enep = 2.470607 if GB64_district_name == "GLASGOW POLLOK"
replace GB64_enep = 1.818086 if GB64_district_name == "GLASGOW PROVAN"
replace GB64_enep = 1.897906 if GB64_district_name == "GLASGOW SCOTSTOUN"
replace GB64_enep = 1.771122 if GB64_district_name == "GLASGOW SHETTLESTON"
replace GB64_enep = 2.067203 if GB64_district_name == "GLASGOW SPRINGBURN"
replace GB64_enep = 2.622322 if GB64_district_name == "GLASGOW WOODSIDE"
replace GB64_enep = 2.717846 if GB64_district_name == "GLOUCESTER"
replace GB64_enep = 2.587192 if GB64_district_name == "SOUTH GLOUCESTERSHIRE"
replace GB64_enep = 2.558159 if GB64_district_name == "WEST GLOUCESTERSHIRE"
replace GB64_enep = 1.996582 if GB64_district_name == "GOOLE"
replace GB64_enep = 2.559673 if GB64_district_name == "GOSPORT AND FAREHAM"
replace GB64_enep = 1.788753 if GB64_district_name == "GOWER"
replace GB64_enep = 1.972214 if GB64_district_name == "GRANTHAM"
replace GB64_enep = 2.428455 if GB64_district_name == "GRAVESEND"
replace GB64_enep = 2.490147 if GB64_district_name == "GREENOCK"
replace GB64_enep = 2.335626 if GB64_district_name == "GREENWICH"
replace GB64_enep = 1.985069 if GB64_district_name == "GRIMSBY"
replace GB64_enep = 2.61751 if GB64_district_name == "GUILDFORD"
replace GB64_enep = 1.807351 if GB64_district_name == "HACKNEY CENTRAL"
replace GB64_enep = 2.585351 if GB64_district_name == "HALIFAX"
replace GB64_enep = 2.427422 if GB64_district_name == "HALTEMPRICE"
replace GB64_enep = 1.699071 if GB64_district_name == "HAMILTON"
replace GB64_enep = 1.875045 if GB64_district_name == "HAMMERSMITH NORTH"
replace GB64_enep = 2.688295 if GB64_district_name == "HAMPSTEAD"
replace GB64_enep = 2.655725 if GB64_district_name == "HARBOROUGH"
replace GB64_enep = 2.369255 if GB64_district_name == "HARROGATE"
replace GB64_enep = 2.720056 if GB64_district_name == "HARROW,CENTRAL"
replace GB64_enep = 1.993086 if GB64_district_name == "HARROW,EAST"
replace GB64_enep = 2.515257 if GB64_district_name == "HARROW,WEST"
replace GB64_enep = 1.993148 if GB64_district_name == "THE HARTLEPOOLS"
replace GB64_enep = 2.616539 if GB64_district_name == "HARWICH"
replace GB64_enep = 2.832114 if GB64_district_name == "HASTINGS"
replace GB64_enep = 2.017583 if GB64_district_name == "HAYES AND HARLINGTON"
replace GB64_enep = 2.670607 if GB64_district_name == "HEMEL HEMPSTEAD"
replace GB64_enep = 1.391379 if GB64_district_name == "HEMSWORTH"
replace GB64_enep = 2.574591 if GB64_district_name == "HENDON,NORTH"
replace GB64_enep = 2.707504 if GB64_district_name == "HENDON,SOUTH"
replace GB64_enep = 2.616161 if GB64_district_name == "HENLEY"
replace GB64_enep = 2.795447 if GB64_district_name == "HEREFORD"
replace GB64_enep = 2.548971 if GB64_district_name == "HERTFORD"
replace GB64_enep = 2.599142 if GB64_district_name == "EAST HERTFORDSHIRE"
replace GB64_enep = 2.686913 if GB64_district_name == "SOUTH WEST HERTFORDSHIRE"
replace GB64_enep = 2.600882 if GB64_district_name == "HESTON AND ISLEWORTH"
replace GB64_enep = 2.570634 if GB64_district_name == "HEXHAM"
replace GB64_enep = 2.778272 if GB64_district_name == "HEYWOOD AND ROYTON"
replace GB64_enep = 2.941939 if GB64_district_name == "HIGH PEAK"
replace GB64_enep = 2.51816 if GB64_district_name == "HITCHIN"
replace GB64_enep = 2.012868 if GB64_district_name == "HOLBORN AND ST.PANCRAS"
replace GB64_enep = 1.977282 if GB64_district_name == "HOLLAND WITH BOSTON"
replace GB64_enep = 2.462709 if GB64_district_name == "HONITON"
replace GB64_enep = 2.680969 if GB64_district_name == "HORNCASTLE"
replace GB64_enep = 2.682394 if GB64_district_name == "HORNCHURCH"
replace GB64_enep = 2.627104 if GB64_district_name == "HORNSEY"
replace GB64_enep = 2.72471 if GB64_district_name == "HORSHAM"
replace GB64_enep = 1.604565 if GB64_district_name == "HOUGHTON-LE-SPRING"
replace GB64_enep = 1.761585 if GB64_district_name == "HOVE"
replace GB64_enep = 2.544834 if GB64_district_name == "HOWDEN"
replace GB64_enep = 2.584702 if GB64_district_name == "HUDDERSFIELD,EAST"
replace GB64_enep = 2.991375 if GB64_district_name == "HUDDERSFIELD,WEST"
replace GB64_enep = 2.563438 if GB64_district_name == "HUNTINGDONSHIRE"
replace GB64_enep = 1.889514 if GB64_district_name == "HUYTON"
replace GB64_enep = 2.72053 if GB64_district_name == "ILFORD,NORTH"
replace GB64_enep = 2.764296 if GB64_district_name == "ILFORD,SOUTH"
replace GB64_enep = 2.249349 if GB64_district_name == "ILKESTON"
replace GB64_enep = 1.675814 if GB64_district_name == "INCE"
replace GB64_enep = 2.919541 if GB64_district_name == "INVERNESS"
replace GB64_enep = 2.911528 if GB64_district_name == "IPSWICH"
replace GB64_enep = 1.969243 if GB64_district_name == "THE ISLE OF ELY"
replace GB64_enep = 2.626 if GB64_district_name == "ISLE OF THANET"
replace GB64_enep = 2.449829 if GB64_district_name == "ISLE OF WIGHT"
replace GB64_enep = 2.662437 if GB64_district_name == "ISLINGTON,EAST"
replace GB64_enep = 2.361662 if GB64_district_name == "ISLINGTON,NORTH"
replace GB64_enep = 1.939119 if GB64_district_name == "ISLINGTON,SOUTH WEST"
replace GB64_enep = 1.849957 if GB64_district_name == "JARROW"
replace GB64_enep = 2.778669 if GB64_district_name == "KEIGHLEY"
replace GB64_enep = 2.355675 if GB64_district_name == "KENSINGTON,NORTH"
replace GB64_enep = 1.948388 if GB64_district_name == "KENSINGTON,SOUTH"
replace GB64_enep = 1.978717 if GB64_district_name == "KETTERING"
replace GB64_enep = 2.466101 if GB64_district_name == "KIDDERMINSTER"
replace GB64_enep = 2.12102 if GB64_district_name == "KILMARNOCK"
replace GB64_enep = 1.999988 if GB64_district_name == "KING'S LYNN"
replace GB64_enep = 2.416507 if GB64_district_name == "KINGSTON-UPON-HULL EAST"
replace GB64_enep = 2.635641 if GB64_district_name == "KINGSTON-UPON-HULL NORTH"
replace GB64_enep = 1.962597 if GB64_district_name == "KINGSTON-UPON-HULL WEST"
replace GB64_enep = 2.511074 if GB64_district_name == "KINGSTON UPON THAMES"
replace GB64_enep = 2.002976 if GB64_district_name == "KINROSS AND WEST PERTHSHIRE"
replace GB64_enep = 2.191083 if GB64_district_name == "KIRKCALDY BURGHS"
replace GB64_enep = 2.535252 if GB64_district_name == "KNUTSFORD"
replace GB64_enep = 1.949398 if GB64_district_name == "LAMBETH,BRIXTON"
replace GB64_enep = 2.415158 if GB64_district_name == "LAMBETH,NORWOOD"
replace GB64_enep = 1.85244 if GB64_district_name == "LAMBETH,VAUXHALL"
replace GB64_enep = 1.98157 if GB64_district_name == "LANARK"
replace GB64_enep = 1.913682 if GB64_district_name == "NORTH LANARKSHIRE"
replace GB64_enep = 1.99008 if GB64_district_name == "LANCASTER"
replace GB64_enep = 1.951815 if GB64_district_name == "LEEDS,EAST"
replace GB64_enep = 1.912415 if GB64_district_name == "LEEDS,NORTH EAST"
replace GB64_enep = 2.493657 if GB64_district_name == "LEEDS,NORTH WEST"
replace GB64_enep = 1.936205 if GB64_district_name == "LEEDS,SOUTH"
replace GB64_enep = 1.777875 if GB64_district_name == "LEEDS,SOUTH EAST"
replace GB64_enep = 2.519407 if GB64_district_name == "LEEDS,WEST"
replace GB64_enep = 1.991354 if GB64_district_name == "LEEK"
replace GB64_enep = 2.647373 if GB64_district_name == "LEICESTER,NORTH EAST"
replace GB64_enep = 1.973438 if GB64_district_name == "LEICESTER,NORTH WEST"
replace GB64_enep = 2.412976 if GB64_district_name == "LEICESTER,SOUTH EAST"
replace GB64_enep = 2.492 if GB64_district_name == "LEICESTER,SOUTH WEST"
replace GB64_enep = 1.781214 if GB64_district_name == "LEIGH"
replace GB64_enep = 2.594853 if GB64_district_name == "LEOMINSTER"
replace GB64_enep = 2.446123 if GB64_district_name == "LEWES"
replace GB64_enep = 2.41195 if GB64_district_name == "LEWISHAM,NORTH"
replace GB64_enep = 2.475711 if GB64_district_name == "LEWISHAM,SOUTH"
replace GB64_enep = 2.513301 if GB64_district_name == "LEWISHAM,WEST"
replace GB64_enep = 2.552944 if GB64_district_name == "LEYTON"
replace GB64_enep = 2.436231 if GB64_district_name == "LICHFIELD AND TAMWORTH"
replace GB64_enep = 2.590576 if GB64_district_name == "LINCOLN"
replace GB64_enep = 1.936695 if GB64_district_name == "LIVERPOOL,EDGE HILL"
replace GB64_enep = 1.721366 if GB64_district_name == "LIVERPOOL,EXCHANGE"
replace GB64_enep = 2.504959 if GB64_district_name == "LIVERPOOL,GARSTON"
replace GB64_enep = 1.975843 if GB64_district_name == "LIVERPOOL,KIRKDALE"
replace GB64_enep = 1.799533 if GB64_district_name == "LIVERPOOL,SCOTLAND"
replace GB64_enep = 1.984377 if GB64_district_name == "LIVERPOOL,TOXTETH"
replace GB64_enep = 1.989498 if GB64_district_name == "LIVERPOOL,WALTON"
replace GB64_enep = 2.659116 if GB64_district_name == "LIVERPOOL,WAVERTREE"
replace GB64_enep = 1.982658 if GB64_district_name == "LIVERPOOL,WEST DERBY"
replace GB64_enep = 2.125491 if GB64_district_name == "LLANELLI"
replace GB64_enep = 2.239976 if GB64_district_name == "CITIES OF LONDON AND WESTMINSTER"
replace GB64_enep = 1.852851 if GB64_district_name == "LONDONDERRY COUNTY"
replace GB64_enep = 2.544505 if GB64_district_name == "LOUGHBOROUGH"
replace GB64_enep = 2.629718 if GB64_district_name == "LOUTH"
replace GB64_enep = 2.392782 if GB64_district_name == "LOWESTOFT"
replace GB64_enep = 2.757545 if GB64_district_name == "LUDLOW"
replace GB64_enep = 2.047686 if GB64_district_name == "LUTON"
replace GB64_enep = 2.632185 if GB64_district_name == "MACCLESFIELD"
replace GB64_enep = 2.724393 if GB64_district_name == "MAIDSTONE"
replace GB64_enep = 2.505552 if GB64_district_name == "MALDON"
replace GB64_enep = 1.904353 if GB64_district_name == "MANCHESTER,ARDWICK"
replace GB64_enep = 2.625089 if GB64_district_name == "MANCHESTER,BLACKLEY"
replace GB64_enep = 1.808269 if GB64_district_name == "MANCHESTER,CHEETHAM"
replace GB64_enep = 1.745553 if GB64_district_name == "MANCHESTER,EXCHANGE"
replace GB64_enep = 1.979339 if GB64_district_name == "MANCHESTER,GORTON"
replace GB64_enep = 2.776924 if GB64_district_name == "MANCHESTER,MOSS SIDE"
replace GB64_enep = 2.074463 if GB64_district_name == "MANCHESTER,OPENSHAW"
replace GB64_enep = 2.821474 if GB64_district_name == "MANCHESTER,WITHINGTON"
replace GB64_enep = 2.507747 if GB64_district_name == "MANCHESTER,WYTHENSHAWE"
replace GB64_enep = 2.113063 if GB64_district_name == "MANSFIELD"
replace GB64_enep = 2.558297 if GB64_district_name == "MELTON"
replace GB64_enep = 1.999923 if GB64_district_name == "MERIDEN"
replace GB64_enep = 3.366423 if GB64_district_name == "MERIONETH"
replace GB64_enep = 1.669271 if GB64_district_name == "MERTHYR TYDFIL"
replace GB64_enep = 2.555989 if GB64_district_name == "MERTON AND MORDEN"
replace GB64_enep = 1.735991 if GB64_district_name == "MIDDLESBROUGH,EAST"
replace GB64_enep = 2.530239 if GB64_district_name == "MIDDLESBROUGH,WEST"
replace GB64_enep = 2.871582 if GB64_district_name == "MIDDLETON AND PRESTWICK"
replace GB64_enep = 1.903532 if GB64_district_name == "MIDLOTHIAN"
replace GB64_enep = 2.572998 if GB64_district_name == "MITCHAM"
replace GB64_enep = 2.493303 if GB64_district_name == "MONMOUTH"
replace GB64_enep = 3.246324 if GB64_district_name == "MONTGOMERY"
replace GB64_enep = 2.625429 if GB64_district_name == "MORAY AND NAIRN"
replace GB64_enep = 2.502876 if GB64_district_name == "MORECAMBE AND LONSDALE"
replace GB64_enep = 1.658154 if GB64_district_name == "MORPETH"
replace GB64_enep = 2.058435 if GB64_district_name == "MOTHERWELL"
replace GB64_enep = 2.767541 if GB64_district_name == "NANTWICH"
replace GB64_enep = 1.704025 if GB64_district_name == "NEATH"
replace GB64_enep = 1.990245 if GB64_district_name == "NELSON AND COLNE"
replace GB64_enep = 1.984924 if GB64_district_name == "NEWARK"
replace GB64_enep = 2.739381 if GB64_district_name == "NEWBURY"
replace GB64_enep = 1.950192 if GB64_district_name == "NEWCASTLE UNDER LYME"
replace GB64_enep = 1.731714 if GB64_district_name == "NEWCASTLE-UPON-TYNE CENTRAL"
replace GB64_enep = 1.996751 if GB64_district_name == "NEWCASTLE-UPON-TYNE EAST"
replace GB64_enep = 1.909083 if GB64_district_name == "NEWCASTLE-UPON-TYNE NORTH"
replace GB64_enep = 1.946004 if GB64_district_name == "NEWCASTLE-UPONTYNE WEST"
replace GB64_enep = 2.540858 if GB64_district_name == "NEW FOREST"
replace GB64_enep = 1.956285 if GB64_district_name == "NEWPORT"
replace GB64_enep = 2.353668 if GB64_district_name == "NEWTON"
replace GB64_enep = 2.519087 if GB64_district_name == "CENTRAL NORFOLK"
replace GB64_enep = 1.999996 if GB64_district_name == "NORTH NORFOLK"
replace GB64_enep = 2.519313 if GB64_district_name == "SOUTH NORFOLK"
replace GB64_enep = 2.050868 if GB64_district_name == "SOUTH WEST NORFOLK"
replace GB64_enep = 1.662437 if GB64_district_name == "NORMANTON"
replace GB64_enep = 2.374391 if GB64_district_name == "NORTHAMPTON"
replace GB64_enep = 1.985513 if GB64_district_name == "SOUTH NORTHAMPTONSHIRE"
replace GB64_enep = 1.828879 if GB64_district_name == "NORTH FYLDE"
replace GB64_enep = 2.639269 if GB64_district_name == "NORTHWICH"
replace GB64_enep = 1.909006 if GB64_district_name == "NORWICH,NORTH"
replace GB64_enep = 1.999402 if GB64_district_name == "NORWICH,SOUTH"
replace GB64_enep = 1.994342 if GB64_district_name == "NOTTINGHAM,CENTRAL"
replace GB64_enep = 2.058182 if GB64_district_name == "NOTTINGHAM,NORTH"
replace GB64_enep = 2.522838 if GB64_district_name == "NOTTINGHAM,SOUTH"
replace GB64_enep = 1.994543 if GB64_district_name == "NOTTINGHAM,WEST"
replace GB64_enep = 2.524779 if GB64_district_name == "NUNEATON"
replace GB64_enep = 1.71924 if GB64_district_name == "OGMORE"
replace GB64_enep = 2.794062 if GB64_district_name == "OLDBURY AND HALESOWEN"
replace GB64_enep = 2.709887 if GB64_district_name == "OLDHAM,EAST"
replace GB64_enep = 1.940453 if GB64_district_name == "OLDHAM,WEST"
replace GB64_enep = 2.164308 if GB64_district_name == "ORKNEY AND ZETLAND"
replace GB64_enep = 1.880985 if GB64_district_name == "ORMSKIRK"
replace GB64_enep = 2.391 if GB64_district_name == "ORPINGTON"
replace GB64_enep = 2.73549 if GB64_district_name == "OSWESTRY"
replace GB64_enep = 2.675206 if GB64_district_name == "OXFORD"
replace GB64_enep = 1.951784 if GB64_district_name == "PADDINGTON,NORTH"
replace GB64_enep = 2.373771 if GB64_district_name == "PADDINGTON,SOUTH"
replace GB64_enep = 2.426652 if GB64_district_name == "PAISLEY"
replace GB64_enep = 2.837945 if GB64_district_name == "PEMBROKE"
replace GB64_enep = 2.32725 if GB64_district_name == "PENISTONE"
replace GB64_enep = 2.598697 if GB64_district_name == "PENRITH AND THE BORDERS"
replace GB64_enep = 2.34372 if GB64_district_name == "PERTH AND EAST PERTHSHIRE"
replace GB64_enep = 2.480773 if GB64_district_name == "PETERBOROUGH"
replace GB64_enep = 2.521875 if GB64_district_name == "PETERSFIELD"
replace GB64_enep = 1.987016 if GB64_district_name == "PLYMOUTH,DEVONPORT"
replace GB64_enep = 2.532607 if GB64_district_name == "PLYMOUTH,SUTTON"
replace GB64_enep = 1.570156 if GB64_district_name == "PONTEFRACT"
replace GB64_enep = 1.652415 if GB64_district_name == "PONTYPOOL"
replace GB64_enep = 1.691588 if GB64_district_name == "PONTYPRIDD"
replace GB64_enep = 2.768888 if GB64_district_name == "POOLE"
replace GB64_enep = 1.529949 if GB64_district_name == "POPLAR"
replace GB64_enep = 2.631719 if GB64_district_name == "PORTSMOUTH,LANGSTON"
replace GB64_enep = 1.86055 if GB64_district_name == "PORTSMOUTH,SOUTH"
replace GB64_enep = 1.99964 if GB64_district_name == "PORTSMOUTH,WEST"
replace GB64_enep = 2 if GB64_district_name == "PRESTON,NORTH"
replace GB64_enep = 1.999835 if GB64_district_name == "PRESTON,SOUTH"
replace GB64_enep = 2.688684 if GB64_district_name == "PUDSEY"
replace GB64_enep = 2.49619 if GB64_district_name == "READING"
replace GB64_enep = 2.701403 if GB64_district_name == "REIGATE"
replace GB64_enep = 2.502476 if GB64_district_name == "EAST RENFREWSHIRE"
replace GB64_enep = 2.410398 if GB64_district_name == "WEST RENFREWSHIRE"
replace GB64_enep = 1.867849 if GB64_district_name == "RHONDDA,EAST"
replace GB64_enep = 1.539307 if GB64_district_name == "RHONDDA,WEST"
replace GB64_enep = 2.58343 if GB64_district_name == "RICHMOND (SURREY)"
replace GB64_enep = 2.318645 if GB64_district_name == "RICHMOND (YORKSHIRE)"
replace GB64_enep = 2.477228 if GB64_district_name == "RIPON"
replace GB64_enep = 2.769095 if GB64_district_name == "ROCHDALE"
replace GB64_enep = 1.999221 if GB64_district_name == "ROCHESTER AND CHATHAM"
replace GB64_enep = 2.618718 if GB64_district_name == "ROMFORD"
replace GB64_enep = 2.928877 if GB64_district_name == "ROSS AND CROMARTY"
replace GB64_enep = 1.987497 if GB64_district_name == "ROSSENDALE"
replace GB64_enep = 1.803961 if GB64_district_name == "ROTHERHAM"
replace GB64_enep = 1.61475 if GB64_district_name == "ROTHER VALLEY"
replace GB64_enep = 1.919879 if GB64_district_name == "ROWLEY REGIS AND TIPTON"
replace GB64_enep = 2.777234 if GB64_district_name == "ROXBURGH, SELKIRK AND PEEBLES"
replace GB64_enep = 2.562856 if GB64_district_name == "RUGBY"
replace GB64_enep = 2.554245 if GB64_district_name == "RUISLIP-NORTHWOOD"
replace GB64_enep = 2.640244 if GB64_district_name == "RUNCORN"
replace GB64_enep = 1.994453 if GB64_district_name == "RUSHCLIFFE"
replace GB64_enep = 2.16433 if GB64_district_name == "RUTHERGLEN"
replace GB64_enep = 1.975809 if GB64_district_name == "RUTLAND AND STAMFORD"
replace GB64_enep = 2.272825 if GB64_district_name == "RYE"
replace GB64_enep = 2.49464 if GB64_district_name == "SAFFRON WALDON"
replace GB64_enep = 2.586076 if GB64_district_name == "ST.ALBANS"
replace GB64_enep = 1.793109 if GB64_district_name == "ST.HELENS"
replace GB64_enep = 2.887491 if GB64_district_name == "ST.IVES"
replace GB64_enep = 2.369862 if GB64_district_name == "ST.MARYLEBONE"
replace GB64_enep = 1.998981 if GB64_district_name == "ST.PANCRAS NORTH"
replace GB64_enep = 1.905857 if GB64_district_name == "SALFORD,EAST"
replace GB64_enep = 1.976309 if GB64_district_name == "SALFORD,WEST"
replace GB64_enep = 2.620164 if GB64_district_name == "SALISBURY"
replace GB64_enep = 2.783683 if GB64_district_name == "SCARBOROUGH AND WHITBY"
replace GB64_enep = 1.91306 if GB64_district_name == "SEDGEFIELD"
replace GB64_enep = 2.578843 if GB64_district_name == "SEVENOAKS"
replace GB64_enep = 1.966151 if GB64_district_name == "SHEFFIELD,ATTERCLIFFE"
replace GB64_enep = 1.761723 if GB64_district_name == "SHEFFIELD,BRIGHTSIDE"
replace GB64_enep = 2.454657 if GB64_district_name == "SHEFFIELD,HALLAM"
replace GB64_enep = 1.998243 if GB64_district_name == "SHEFFIELD,HEELEY"
replace GB64_enep = 1.88346 if GB64_district_name == "SHEFFIELD,HILLSBOROUGH"
replace GB64_enep = 1.585013 if GB64_district_name == "SHEFFIELD,PARK"
replace GB64_enep = 2.503766 if GB64_district_name == "SHIPLEY"
replace GB64_enep = 1.76149 if GB64_district_name == "SHOREDITCH AND FINSBURY"
replace GB64_enep = 2.652282 if GB64_district_name == "SHREWSBURY"
replace GB64_enep = 2.783483 if GB64_district_name == "SKIPTON"
replace GB64_enep = 2.401928 if GB64_district_name == "SMETHWICK"
replace GB64_enep = 2.292202 if GB64_district_name == "SOLIHULL"
replace GB64_enep = 2.545081 if GB64_district_name == "NORTH SOMERSET"
replace GB64_enep = 2.364568 if GB64_district_name == "SOUTHALL"
replace GB64_enep = 2.41935 if GB64_district_name == "SOUTHAMPTON,ITCHEN"
replace GB64_enep = 1.999907 if GB64_district_name == "SOUTHAMPTON,TEST"
replace GB64_enep = 2.578129 if GB64_district_name == "SOUTHEND EAST"
replace GB64_enep = 2.622797 if GB64_district_name == "SOUTHEND WEST"
replace GB64_enep = 2.346157 if GB64_district_name == "SOUTH FYLDE"
replace GB64_enep = 2.485329 if GB64_district_name == "SOUTHGATE"
replace GB64_enep = 2.596292 if GB64_district_name == "SOUTHPORT"
replace GB64_enep = 2.398221 if GB64_district_name == "SOUTH SHIELDS"
replace GB64_enep = 1.834769 if GB64_district_name == "SOUTHWARK"
replace GB64_enep = 1.985831 if GB64_district_name == "SOWERBY"
replace GB64_enep = 2.647186 if GB64_district_name == "SPELTHORNE"
replace GB64_enep = 2.474604 if GB64_district_name == "STAFFORD AND STONE"
replace GB64_enep = 1.987335 if GB64_district_name == "STALYBRIDGE AND HYDE"
replace GB64_enep = 1.788529 if GB64_district_name == "STEPNEY"
replace GB64_enep = 2.34713 if GB64_district_name == "STIRLING AND FALKIRK"
replace GB64_enep = 2.295834 if GB64_district_name == "CLACKMANNAN AND EAST STIRLINGSHIRE"
replace GB64_enep = 1.940316 if GB64_district_name == "WEST STIRLINGSHIRE"
replace GB64_enep = 2.613913 if GB64_district_name == "STOCKPORT NORTH"
replace GB64_enep = 2.718894 if GB64_district_name == "STOCKPORT SOUTH"
replace GB64_enep = 2.497378 if GB64_district_name == "STOCKTON-ON-TEES"
replace GB64_enep = 2.321599 if GB64_district_name == "STOKE NEWINGTON AND HACKNEY NORTH"
replace GB64_enep = 1.851588 if GB64_district_name == "STOKE ON TRENT,CENTRAL"
replace GB64_enep = 1.840134 if GB64_district_name == "STOKE ON TRENT,NORTH"
replace GB64_enep = 1.914589 if GB64_district_name == "STOKE ON TRENT,SOUTH"
replace GB64_enep = 2.476404 if GB64_district_name == "STRATFORD"
replace GB64_enep = 2.868368 if GB64_district_name == "STRETFORD"
replace GB64_enep = 2.689887 if GB64_district_name == "STROUD"
replace GB64_enep = 2.531273 if GB64_district_name == "SUDBURY AND WOODBRIDGE"
replace GB64_enep = 2.068582 if GB64_district_name == "SUNDERLAND NORTH"
replace GB64_enep = 1.998058 if GB64_district_name == "SUNDERLAND SOUTH"
replace GB64_enep = 1.914236 if GB64_district_name == "SURBITON"
replace GB64_enep = 2.394542 if GB64_district_name == "EAST SURREY"
replace GB64_enep = 2.553243 if GB64_district_name == "SUTTON AND CHEAM"
replace GB64_enep = 2.472165 if GB64_district_name == "SUTTON COLDFIELD"
replace GB64_enep = 1.73986 if GB64_district_name == "SWANSEA,EAST"
replace GB64_enep = 2.389563 if GB64_district_name == "SWANSEA,WEST"
replace GB64_enep = 1.983868 if GB64_district_name == "SWINDON"
replace GB64_enep = 2.650717 if GB64_district_name == "TAUNTON"
replace GB64_enep = 2.640467 if GB64_district_name == "TAVISTOCK"
replace GB64_enep = 1.806022 if GB64_district_name == "THIRSK AND MALTON"
replace GB64_enep = 2.344927 if GB64_district_name == "THURROCK"
replace GB64_enep = 2.658884 if GB64_district_name == "TIVERTON"
replace GB64_enep = 2.599157 if GB64_district_name == "TONBRIDGE"
replace GB64_enep = 2.577537 if GB64_district_name == "TORQUAY"
replace GB64_enep = 2.617867 if GB64_district_name == "TORRINGTON"
replace GB64_enep = 2.707111 if GB64_district_name == "TOTNES"
replace GB64_enep = 2.372021 if GB64_district_name == "TOTTENHAM"
replace GB64_enep = 2.924381 if GB64_district_name == "TRURO"
replace GB64_enep = 2.762236 if GB64_district_name == "TWICKENHAM"
replace GB64_enep = 1.968874 if GB64_district_name == "TYNEMOUTH"
replace GB64_enep = 2.320271 if GB64_district_name == "ULSTER MID"
replace GB64_enep = 2.572284 if GB64_district_name == "UXBRIDGE"
replace GB64_enep = 2.382817 if GB64_district_name == "WAKEFIELD"
replace GB64_enep = 2.709538 if GB64_district_name == "WALLASEY"
replace GB64_enep = 1.916711 if GB64_district_name == "WALLSEND"
replace GB64_enep = 1.901498 if GB64_district_name == "WALSALL,NORTH"
replace GB64_enep = 1.960879 if GB64_district_name == "WALSALL,SOUTH"
replace GB64_enep = 2.617 if GB64_district_name == "WALTHAMSTOW,EAST"
replace GB64_enep = 2.403311 if GB64_district_name == "WALTHAMSTOW,WEST"
replace GB64_enep = 2.405622 if GB64_district_name == "WANDSWORTH,CENTRAL"
replace GB64_enep = 2.387358 if GB64_district_name == "WANDSWORTH,CLAPHAM"
replace GB64_enep = 2.509238 if GB64_district_name == "WANDSWORTH,PUTNEY"
replace GB64_enep = 2.520031 if GB64_district_name == "WANDSWORTH,STREATHAM"
replace GB64_enep = 2.454737 if GB64_district_name == "WANSTEAD AND WOODFORD"
replace GB64_enep = 2.2818 if GB64_district_name == "WARRINGTON"
replace GB64_enep = 2.378124 if GB64_district_name == "WARWICK AND LEAMINGTON"
replace GB64_enep = 2.52396 if GB64_district_name == "WATFORD"
replace GB64_enep = 1.989198 if GB64_district_name == "WEDNESBURY"
replace GB64_enep = 2.627631 if GB64_district_name == "WELLINGBOROUGH"
replace GB64_enep = 2.859474 if GB64_district_name == "WELLS"
replace GB64_enep = 2.619545 if GB64_district_name == "WEMBLEY NORTH"
replace GB64_enep = 2.609583 if GB64_district_name == "WEMBLEY SOUTH"
replace GB64_enep = 1.979077 if GB64_district_name == "WEST BROMWICH"
replace GB64_enep = 2.847338 if GB64_district_name == "WESTBURY"
replace GB64_enep = 2.387124 if GB64_district_name == "WESTERN ISLES"
replace GB64_enep = 2.251253 if GB64_district_name == "WEST HAM NORTH"
replace GB64_enep = 1.703561 if GB64_district_name == "WEST HAM SOUTH"
replace GB64_enep = 1.895347 if GB64_district_name == "WESTHOUGHTON"
replace GB64_enep = 2.64219 if GB64_district_name == "WEST LOTHIAN"
replace GB64_enep = 2.557068 if GB64_district_name == "WESTMORLAND"
replace GB64_enep = 2.55293 if GB64_district_name == "WESTON SUPER MARE"
replace GB64_enep = 1.921434 if GB64_district_name == "WHITEHAVEN"
replace GB64_enep = 1.963392 if GB64_district_name == "WIDNES"
replace GB64_enep = 1.780442 if GB64_district_name == "WIGAN"
replace GB64_enep = 1.995868 if GB64_district_name == "WILLESDEN,EAST"
replace GB64_enep = 1.95006 if GB64_district_name == "WILLESDEN,WEST"
replace GB64_enep = 2.558939 if GB64_district_name == "WIMBLEDON"
replace GB64_enep = 2.482922 if GB64_district_name == "WINCHESTER"
replace GB64_enep = 2.64844 if GB64_district_name == "WINDSOR"
replace GB64_enep = 2.657759 if GB64_district_name == "WIRRAL"
replace GB64_enep = 2.565163 if GB64_district_name == "WOKING"
replace GB64_enep = 2.678452 if GB64_district_name == "WOKINGHAM"
replace GB64_enep = 1.971421 if GB64_district_name == "WOLVERHAMPTON NORTH EAST"
replace GB64_enep = 2.26846 if GB64_district_name == "WOLVERHAMPTON SOUTH WEST"
replace GB64_enep = 1.965294 if GB64_district_name == "WOOD GREEN"
replace GB64_enep = 1.764639 if GB64_district_name == "WOOLWICH,EAST"
replace GB64_enep = 2.098246 if GB64_district_name == "WOOLWICH,WEST"
replace GB64_enep = 2.474508 if GB64_district_name == "WORCESTER"
replace GB64_enep = 2.623492 if GB64_district_name == "SOUTH WORCESTERSHIRE"
replace GB64_enep = 1.889059 if GB64_district_name == "WORKINGTON"
replace GB64_enep = 2.219379 if GB64_district_name == "WORTHING"
replace GB64_enep = 2.342124 if GB64_district_name == "THE WREKIN"
replace GB64_enep = 2.199438 if GB64_district_name == "WREXHAM"
replace GB64_enep = 2.534287 if GB64_district_name == "WYCOMBE"
replace GB64_enep = 2.435766 if GB64_district_name == "YARMOUTH"
replace GB64_enep = 2.854602 if GB64_district_name == "YEOVIL"
replace GB64_enep = 2.517039 if GB64_district_name == "YORK"


******************************************************************
** INCUMBENT PARTY REELECTED: 1964 GENERAL ELECTION (1964 WAVE) **
******************************************************************

gen GB64_reelected = .

replace GB64_reelected = 1 if GB64_district_name == "ABERAVON"
replace GB64_reelected = 1 if GB64_district_name == "ABERDARE"
replace GB64_reelected = 1 if GB64_district_name == "ABERDEEN NORTH"
replace GB64_reelected = 1 if GB64_district_name == "ABERDEEN SOUTH"
replace GB64_reelected = 1 if GB64_district_name == "EAST ABERDEENSHIRE"
replace GB64_reelected = 1 if GB64_district_name == "WEST ABERDEENSHIRE"
replace GB64_reelected = 1 if GB64_district_name == "ABERTILLERY"
replace GB64_reelected = 1 if GB64_district_name == "ABINGDON"
replace GB64_reelected = 1 if GB64_district_name == "ACCRINGTON"
replace GB64_reelected = 0 if GB64_district_name == "ACTON"
replace GB64_reelected = 1 if GB64_district_name == "ALDERSHOT"
replace GB64_reelected = 1 if GB64_district_name == "ALTRINCHAM AND SALE"
replace GB64_reelected = 1 if GB64_district_name == "ANGLESEY"
replace GB64_reelected = 1 if GB64_district_name == "NORTH ANGUS AND MEARNS"
replace GB64_reelected = 1 if GB64_district_name == "SOUTH ANGUS"
replace GB64_reelected = 1 if GB64_district_name == "ANTRIM NORTH"
replace GB64_reelected = 1 if GB64_district_name == "ANTRIM SOUTH"
replace GB64_reelected = 1 if GB64_district_name == "ARGYLL"
replace GB64_reelected = 1 if GB64_district_name == "ARMAGH"
replace GB64_reelected = 1 if GB64_district_name == "ARUNDEL AND SHOREHAM"
replace GB64_reelected = 1 if GB64_district_name == "ASHFIELD"
replace GB64_reelected = 1 if GB64_district_name == "ASHFORD"
replace GB64_reelected = 1 if GB64_district_name == "ASHTON UNDER LYNE"
replace GB64_reelected = 1 if GB64_district_name == "AYLESBURY"
replace GB64_reelected = 1 if GB64_district_name == "AYR"
replace GB64_reelected = 1 if GB64_district_name == "CENTRAL AYRSHIRE"
replace GB64_reelected = 1 if GB64_district_name == "BUTE AND NORTH AYRSHIRE"
replace GB64_reelected = 1 if GB64_district_name == "SOUTH AYRSHIRE"
replace GB64_reelected = 1 if GB64_district_name == "BANBURY"
replace GB64_reelected = 1 if GB64_district_name == "BANFF"
replace GB64_reelected = 1 if GB64_district_name == "BARKING"
replace GB64_reelected = 1 if GB64_district_name == "BARKSTON ASH"
replace GB64_reelected = 1 if GB64_district_name == "BARNET"
replace GB64_reelected = 1 if GB64_district_name == "BARNSLEY"
replace GB64_reelected = 0 if GB64_district_name == "BARONS COURT"
replace GB64_reelected = 1 if GB64_district_name == "BARROW IN FURNESS"
replace GB64_reelected = 1 if GB64_district_name == "BARRY"
replace GB64_reelected = 1 if GB64_district_name == "BASINGSTOKE"
replace GB64_reelected = 1 if GB64_district_name == "BASSETLAW"
replace GB64_reelected = 1 if GB64_district_name == "BATH"
replace GB64_reelected = 1 if GB64_district_name == "BATLEY AND MORLEY"
replace GB64_reelected = 1 if GB64_district_name == "BATTERSEA,NORTH"
replace GB64_reelected = 0 if GB64_district_name == "BATTERSEA,SOUTH"
replace GB64_reelected = 1 if GB64_district_name == "BEBINGTON"
replace GB64_reelected = 1 if GB64_district_name == "BECKENHAM"
replace GB64_reelected = 1 if GB64_district_name == "BEDFORD"
replace GB64_reelected = 1 if GB64_district_name == "MID-BEDFORDSHIRE"
replace GB64_reelected = 1 if GB64_district_name == "SOUTH BEDFORDSHIRE"
replace GB64_reelected = 1 if GB64_district_name == "BEDWELLTY"
replace GB64_reelected = 1 if GB64_district_name == "BELFAST EAST"
replace GB64_reelected = 1 if GB64_district_name == "BELFAST NORTH"
replace GB64_reelected = 1 if GB64_district_name == "BELFAST SOUTH"
replace GB64_reelected = 1 if GB64_district_name == "BELFAST WEST"
replace GB64_reelected = 1 if GB64_district_name == "BELPER"
replace GB64_reelected = 1 if GB64_district_name == "BERMONDSEY"
replace GB64_reelected = 1 if GB64_district_name == "BERWICK AND EAST LOTHIAN"
replace GB64_reelected = 1 if GB64_district_name == "BERWICK UPON TWEED"
replace GB64_reelected = 1 if GB64_district_name == "BETHNAL GREEN"
replace GB64_reelected = 1 if GB64_district_name == "BEXLEY"
replace GB64_reelected = 1 if GB64_district_name == "BILLERICAY"
replace GB64_reelected = 1 if GB64_district_name == "BILSTON"
replace GB64_reelected = 1 if GB64_district_name == "BIRKENHEAD"
replace GB64_reelected = 0 if GB64_district_name == "BIRMINGHAM,ALL SAINTS"
replace GB64_reelected = 1 if GB64_district_name == "BIRMINGHAM,ASTON"
replace GB64_reelected = 1 if GB64_district_name == "BIRMINGHAM,EDGBASTON"
replace GB64_reelected = 1 if GB64_district_name == "BIRMINGHAM,HALL GREEN"
replace GB64_reelected = 1 if GB64_district_name == "BIRMINGHAM,HANDSWORTH"
replace GB64_reelected = 1 if GB64_district_name == "BIRMINGHAM,LADYWOOD"
replace GB64_reelected = 1 if GB64_district_name == "BIRMINGHAM,NORTHFIED"
replace GB64_reelected = 0 if GB64_district_name == "BIRMINGHAM,PERRY BARR"
replace GB64_reelected = 1 if GB64_district_name == "BIRMINGHAM,SELLY OAK"
replace GB64_reelected = 1 if GB64_district_name == "BIRMINGHAM,SMALL HEATH"
replace GB64_reelected = 0 if GB64_district_name == "BIRMINGHAM,SPARKBROOK"
replace GB64_reelected = 1 if GB64_district_name == "BIRMINGHAM,STECHFORD"
replace GB64_reelected = 0 if GB64_district_name == "BIRMINGHAM,YARDLEY"
replace GB64_reelected = 1 if GB64_district_name == "BISHOP AUCKLAND"
replace GB64_reelected = 1 if GB64_district_name == "BLACKBURN"
replace GB64_reelected = 1 if GB64_district_name == "BLACKPOOL,NORTH"
replace GB64_reelected = 1 if GB64_district_name == "BLACKPOOL,SOUTH"
replace GB64_reelected = 1 if GB64_district_name == "BLAYDON"
replace GB64_reelected = 1 if GB64_district_name == "BLYTH"
replace GB64_reelected = 0 if GB64_district_name == "BODMIN"
replace GB64_reelected = 1 if GB64_district_name == "BOLSOVER"
replace GB64_reelected = 0 if GB64_district_name == "BOLTON,EAST"
replace GB64_reelected = 0 if GB64_district_name == "BOLTON,WEST"
replace GB64_reelected = 1 if GB64_district_name == "BOOTLE"
replace GB64_reelected = 1 if GB64_district_name == "BOSWORTH"
replace GB64_reelected = 1 if GB64_district_name == "BOTHWELL"
replace GB64_reelected = 1 if GB64_district_name == "BOURNEMOUTH EAST AND CHRISTCHURCH"
replace GB64_reelected = 1 if GB64_district_name == "BOURNEMOUTH WEST"
replace GB64_reelected = 1 if GB64_district_name == "BRADFORD,EAST"
replace GB64_reelected = 0 if GB64_district_name == "BRADFORD,NORTH"
replace GB64_reelected = 1 if GB64_district_name == "BRADFORD,SOUTH"
replace GB64_reelected = 1 if GB64_district_name == "BRADFORD,WEST"
replace GB64_reelected = 1 if GB64_district_name == "BRECON AND RADNOR"
replace GB64_reelected = 1 if GB64_district_name == "BRENTFORD AND CHISWICK"
replace GB64_reelected = 1 if GB64_district_name == "BRIDGWATER"
replace GB64_reelected = 1 if GB64_district_name == "BRIDLINGTON"
replace GB64_reelected = 1 if GB64_district_name == "BRIERLEY HILL"
replace GB64_reelected = 1 if GB64_district_name == "BRIGG"
replace GB64_reelected = 1 if GB64_district_name == "BRIGHOUSE AND SPENBOROUGH"
replace GB64_reelected = 0 if GB64_district_name == "BRIGHTON,KEMPTOWN"
replace GB64_reelected = 1 if GB64_district_name == "BRIGHTON,PAVILION"
replace GB64_reelected = 1 if GB64_district_name == "BRISTOL,CENTRAL"
replace GB64_reelected = 1 if GB64_district_name == "BRISTOL,NORTH EAST"
replace GB64_reelected = 1 if GB64_district_name == "BRISTOL,NORTH WEST"
replace GB64_reelected = 1 if GB64_district_name == "BRISTOL,SOUTH"
replace GB64_reelected = 1 if GB64_district_name == "BRISTOL,SOUTH EAST"
replace GB64_reelected = 1 if GB64_district_name == "BRISTOL,WEST"
replace GB64_reelected = 1 if GB64_district_name == "BROMLEY"
replace GB64_reelected = 1 if GB64_district_name == "BROMSGROVE"
replace GB64_reelected = 0 if GB64_district_name == "BUCKINGHAM"
replace GB64_reelected = 1 if GB64_district_name == "SOUTH BUCKINGHAMSHIRE"
replace GB64_reelected = 1 if GB64_district_name == "BURNLEY"
replace GB64_reelected = 1 if GB64_district_name == "BURTON"
replace GB64_reelected = 0 if GB64_district_name == "BURY AND RADCLIFFE"
replace GB64_reelected = 1 if GB64_district_name == "BURY ST.EDMUNDS"
replace GB64_reelected = 1 if GB64_district_name == "CAERNARVON"
replace GB64_reelected = 1 if GB64_district_name == "CAERPHILLY"
replace GB64_reelected = 0 if GB64_district_name == "CAITHNESS AND SUTHERLAND"
replace GB64_reelected = 0 if GB64_district_name == "CAMBERWELL,DULWICH"
replace GB64_reelected = 1 if GB64_district_name == "CAMBERWELL,PECKHAM"
replace GB64_reelected = 1 if GB64_district_name == "CAMBRIDGE"
replace GB64_reelected = 1 if GB64_district_name == "CAMBRIDGESHIRE"
replace GB64_reelected = 1 if GB64_district_name == "CANNOCK"
replace GB64_reelected = 1 if GB64_district_name == "CANTERBURY"
replace GB64_reelected = 1 if GB64_district_name == "CARDIFF,NORTH"
replace GB64_reelected = 1 if GB64_district_name == "CARDIFF,SOUTH EAST"
replace GB64_reelected = 1 if GB64_district_name == "CARDIFF,WEST"
replace GB64_reelected = 1 if GB64_district_name == "CARDIGAN"
replace GB64_reelected = 0 if GB64_district_name == "CARLISLE"
replace GB64_reelected = 1 if GB64_district_name == "CARLTON"
replace GB64_reelected = 1 if GB64_district_name == "CARMARTHEN"
replace GB64_reelected = 1 if GB64_district_name == "CARSHALTON"
replace GB64_reelected = 1 if GB64_district_name == "CHEADLE"
replace GB64_reelected = 1 if GB64_district_name == "CHELMSFORD"
replace GB64_reelected = 1 if GB64_district_name == "CHELSEA"
replace GB64_reelected = 1 if GB64_district_name == "CHELTENHAM"
replace GB64_reelected = 1 if GB64_district_name == "CHERTSEY"
replace GB64_reelected = 1 if GB64_district_name == "CITY OF CHESTER"
replace GB64_reelected = 1 if GB64_district_name == "CHESTERFIELD"
replace GB64_reelected = 1 if GB64_district_name == "CHESTER-LE-STREET"
replace GB64_reelected = 1 if GB64_district_name == "CHICHESTER"
replace GB64_reelected = 1 if GB64_district_name == "CHIGWELL"
replace GB64_reelected = 1 if GB64_district_name == "CHIPPENHAM"
replace GB64_reelected = 1 if GB64_district_name == "CHISLEHURST"
replace GB64_reelected = 1 if GB64_district_name == "CHORLEY"
replace GB64_reelected = 1 if GB64_district_name == "CIRENCESTER AND TEWKESBURY"
replace GB64_reelected = 0 if GB64_district_name == "CLEVELAND"
replace GB64_reelected = 1 if GB64_district_name == "CLITHEROE"
replace GB64_reelected = 1 if GB64_district_name == "COATBRIDGE AND AIRDRIE"
replace GB64_reelected = 1 if GB64_district_name == "COLCHESTER"
replace GB64_reelected = 1 if GB64_district_name == "COLNE VALLEY"
replace GB64_reelected = 1 if GB64_district_name == "CONSETT"
replace GB64_reelected = 1 if GB64_district_name == "CONWAY"
replace GB64_reelected = 1 if GB64_district_name == "NORTH CORNWALL"
replace GB64_reelected = 1 if GB64_district_name == "COVENTRY,EAST"
replace GB64_reelected = 1 if GB64_district_name == "COVENTRY,NORTH"
replace GB64_reelected = 0 if GB64_district_name == "COVENTRY,SOUTH"
replace GB64_reelected = 1 if GB64_district_name == "CREWE"
replace GB64_reelected = 1 if GB64_district_name == "CROSBY"
replace GB64_reelected = 1 if GB64_district_name == "CROYDON,NORTH EAST"
replace GB64_reelected = 1 if GB64_district_name == "CROYDON,NORTH WEST"
replace GB64_reelected = 1 if GB64_district_name == "CROYDON,SOUTH"
replace GB64_reelected = 1 if GB64_district_name == "DAGENHAM"
replace GB64_reelected = 0 if GB64_district_name == "DARLINGTON"
replace GB64_reelected = 1 if GB64_district_name == "DARTFORD"
replace GB64_reelected = 1 if GB64_district_name == "DARWEN"
replace GB64_reelected = 1 if GB64_district_name == "DEARNE VALLEY"
replace GB64_reelected = 1 if GB64_district_name == "DENBIGH"
replace GB64_reelected = 1 if GB64_district_name == "DEPTFORD"
replace GB64_reelected = 1 if GB64_district_name == "DERBY NORTH"
replace GB64_reelected = 1 if GB64_district_name == "DERBY SOUTH"
replace GB64_reelected = 1 if GB64_district_name == "NORTH EAST DERBYSHIRE"
replace GB64_reelected = 0 if GB64_district_name == "SOUTH EAST DERBYSHIRE"
replace GB64_reelected = 1 if GB64_district_name == "WEST DERBYSHIRE"
replace GB64_reelected = 1 if GB64_district_name == "DEVIZES"
replace GB64_reelected = 1 if GB64_district_name == "NORTH DEVON"
replace GB64_reelected = 1 if GB64_district_name == "DEWSBURY"
replace GB64_reelected = 0 if GB64_district_name == "DONCASTER"
replace GB64_reelected = 1 if GB64_district_name == "DON VALLEY"
replace GB64_reelected = 1 if GB64_district_name == "DORKING"
replace GB64_reelected = 1 if GB64_district_name == "NORTH DORSET"
replace GB64_reelected = 1 if GB64_district_name == "SOUTH DORSET"
replace GB64_reelected = 1 if GB64_district_name == "WEST DORSET"
replace GB64_reelected = 0 if GB64_district_name == "DOVER"
replace GB64_reelected = 1 if GB64_district_name == "DOWN NORTH"
replace GB64_reelected = 1 if GB64_district_name == "DOWN SOUTH"
replace GB64_reelected = 1 if GB64_district_name == "DUDLEY"
replace GB64_reelected = 1 if GB64_district_name == "DUMFRIES"
replace GB64_reelected = 1 if GB64_district_name == "EAST DUNBARTONSHIRE"
replace GB64_reelected = 1 if GB64_district_name == "WEST DUNBARTONSHIRE"
replace GB64_reelected = 1 if GB64_district_name == "DUNDEE EAST"
replace GB64_reelected = 1 if GB64_district_name == "DUNDEE WEST"
replace GB64_reelected = 1 if GB64_district_name == "DUNFERMLINE BURGHS"
replace GB64_reelected = 1 if GB64_district_name == "DURHAM"
replace GB64_reelected = 1 if GB64_district_name == "NORTH WEST DURHAM"
replace GB64_reelected = 0 if GB64_district_name == "EALING,NORTH"
replace GB64_reelected = 1 if GB64_district_name == "EALING,SOUTH"
replace GB64_reelected = 1 if GB64_district_name == "EASINGTON"
replace GB64_reelected = 1 if GB64_district_name == "EASTBOURNE"
replace GB64_reelected = 1 if GB64_district_name == "EAST GRINSTEAD"
replace GB64_reelected = 1 if GB64_district_name == "EAST HAM,NORTH"
replace GB64_reelected = 1 if GB64_district_name == "EAST HAM,SOUTH"
replace GB64_reelected = 1 if GB64_district_name == "EASTLEIGH"
replace GB64_reelected = 1 if GB64_district_name == "EBBW VALE"
replace GB64_reelected = 1 if GB64_district_name == "ECCLES"
replace GB64_reelected = 1 if GB64_district_name == "EDINBURGH CENTRAL"
replace GB64_reelected = 1 if GB64_district_name == "EDINBURGH EAST"
replace GB64_reelected = 1 if GB64_district_name == "EDINBURGH LEITH"
replace GB64_reelected = 1 if GB64_district_name == "EDINBURGH NORTH"
replace GB64_reelected = 1 if GB64_district_name == "EDINBURGH PENTLANDS"
replace GB64_reelected = 1 if GB64_district_name == "EDINBURGH SOUTH"
replace GB64_reelected = 1 if GB64_district_name == "EDINBURGH WEST"
replace GB64_reelected = 1 if GB64_district_name == "EDMONTON"
replace GB64_reelected = 1 if GB64_district_name == "ENFIELD,EAST"
replace GB64_reelected = 1 if GB64_district_name == "ENFIELD,WEST"
replace GB64_reelected = 0 if GB64_district_name == "EPPING"
replace GB64_reelected = 1 if GB64_district_name == "EPSOM"
replace GB64_reelected = 1 if GB64_district_name == "ERITH AND CRAYFORD"
replace GB64_reelected = 1 if GB64_district_name == "ESHER"
replace GB64_reelected = 1 if GB64_district_name == "SOUTH EAST ESSEX"
replace GB64_reelected = 0 if GB64_district_name == "ETON AND SLOUGH"
replace GB64_reelected = 1 if GB64_district_name == "EXETER"
replace GB64_reelected = 1 if GB64_district_name == "EYE"
replace GB64_reelected = 1 if GB64_district_name == "FALMOUTH AND CAMBORNE"
replace GB64_reelected = 1 if GB64_district_name == "FARNHAM"
replace GB64_reelected = 1 if GB64_district_name == "FARNWORTH"
replace GB64_reelected = 1 if GB64_district_name == "FAVERSHAM"
replace GB64_reelected = 1 if GB64_district_name == "FELTHAM"
replace GB64_reelected = 1 if GB64_district_name == "FERMANAGH AND SOUTH TYRONE"
replace GB64_reelected = 1 if GB64_district_name == "EAST FIFE"
replace GB64_reelected = 1 if GB64_district_name == "WEST FIFE"
replace GB64_reelected = 1 if GB64_district_name == "FINCHLEY"
replace GB64_reelected = 1 if GB64_district_name == "EAST FLINTSHIRE"
replace GB64_reelected = 1 if GB64_district_name == "WEST FLINTSHIRE"
replace GB64_reelected = 1 if GB64_district_name == "FOLKESTONE AND HYTHE"
replace GB64_reelected = 1 if GB64_district_name == "FULHAM"
replace GB64_reelected = 1 if GB64_district_name == "GAINSBOROUGH"
replace GB64_reelected = 1 if GB64_district_name == "GALLOWAY"
replace GB64_reelected = 1 if GB64_district_name == "GATESHEAD EAST"
replace GB64_reelected = 1 if GB64_district_name == "GATESHEAD WEST"
replace GB64_reelected = 1 if GB64_district_name == "GILLINGHAM"
replace GB64_reelected = 1 if GB64_district_name == "GLASGOW BRIDGETON"
replace GB64_reelected = 1 if GB64_district_name == "GLASGOW CATHCART"
replace GB64_reelected = 1 if GB64_district_name == "GLASGOW CENTRAL"
replace GB64_reelected = 1 if GB64_district_name == "GLASGOW CRAIGTON"
replace GB64_reelected = 1 if GB64_district_name == "GLASGOW GORBALS"
replace GB64_reelected = 1 if GB64_district_name == "GLASGOW GOVAN"
replace GB64_reelected = 1 if GB64_district_name == "GLASGOW HILLHEAD"
replace GB64_reelected = 0 if GB64_district_name == "GLASGOW KELVINGROVE"
replace GB64_reelected = 1 if GB64_district_name == "GLASGOW MARYHILL"
replace GB64_reelected = 0 if GB64_district_name == "GLASGOW POLLOK"
replace GB64_reelected = 1 if GB64_district_name == "GLASGOW PROVAN"
replace GB64_reelected = 1 if GB64_district_name == "GLASGOW SCOTSTOUN"
replace GB64_reelected = 1 if GB64_district_name == "GLASGOW SHETTLESTON"
replace GB64_reelected = 1 if GB64_district_name == "GLASGOW SPRINGBURN"
replace GB64_reelected = 0 if GB64_district_name == "GLASGOW WOODSIDE"
replace GB64_reelected = 1 if GB64_district_name == "GLOUCESTER"
replace GB64_reelected = 1 if GB64_district_name == "SOUTH GLOUCESTERSHIRE"
replace GB64_reelected = 1 if GB64_district_name == "WEST GLOUCESTERSHIRE"
replace GB64_reelected = 1 if GB64_district_name == "GOOLE"
replace GB64_reelected = 1 if GB64_district_name == "GOSPORT AND FAREHAM"
replace GB64_reelected = 1 if GB64_district_name == "GOWER"
replace GB64_reelected = 1 if GB64_district_name == "GRANTHAM"
replace GB64_reelected = 0 if GB64_district_name == "GRAVESEND"
replace GB64_reelected = 1 if GB64_district_name == "GREENOCK"
replace GB64_reelected = 1 if GB64_district_name == "GREENWICH"
replace GB64_reelected = 1 if GB64_district_name == "GRIMSBY"
replace GB64_reelected = 1 if GB64_district_name == "GUILDFORD"
replace GB64_reelected = 1 if GB64_district_name == "HACKNEY CENTRAL"
replace GB64_reelected = 0 if GB64_district_name == "HALIFAX"
replace GB64_reelected = 1 if GB64_district_name == "HALTEMPRICE"
replace GB64_reelected = 1 if GB64_district_name == "HAMILTON"
replace GB64_reelected = 1 if GB64_district_name == "HAMMERSMITH NORTH"
replace GB64_reelected = 1 if GB64_district_name == "HAMPSTEAD"
replace GB64_reelected = 1 if GB64_district_name == "HARBOROUGH"
replace GB64_reelected = 1 if GB64_district_name == "HARROGATE"
replace GB64_reelected = 1 if GB64_district_name == "HARROW,CENTRAL"
replace GB64_reelected = 1 if GB64_district_name == "HARROW,EAST"
replace GB64_reelected = 1 if GB64_district_name == "HARROW,WEST"
replace GB64_reelected = 0 if GB64_district_name == "THE HARTLEPOOLS"
replace GB64_reelected = 1 if GB64_district_name == "HARWICH"
replace GB64_reelected = 1 if GB64_district_name == "HASTINGS"
replace GB64_reelected = 1 if GB64_district_name == "HAYES AND HARLINGTON"
replace GB64_reelected = 1 if GB64_district_name == "HEMEL HEMPSTEAD"
replace GB64_reelected = 1 if GB64_district_name == "HEMSWORTH"
replace GB64_reelected = 1 if GB64_district_name == "HENDON,NORTH"
replace GB64_reelected = 1 if GB64_district_name == "HENDON,SOUTH"
replace GB64_reelected = 1 if GB64_district_name == "HENLEY"
replace GB64_reelected = 1 if GB64_district_name == "HEREFORD"
replace GB64_reelected = 1 if GB64_district_name == "HERTFORD"
replace GB64_reelected = 1 if GB64_district_name == "EAST HERTFORDSHIRE"
replace GB64_reelected = 1 if GB64_district_name == "SOUTH WEST HERTFORDSHIRE"
replace GB64_reelected = 1 if GB64_district_name == "HESTON AND ISLEWORTH"
replace GB64_reelected = 1 if GB64_district_name == "HEXHAM"
replace GB64_reelected = 0 if GB64_district_name == "HEYWOOD AND ROYTON"
replace GB64_reelected = 1 if GB64_district_name == "HIGH PEAK"
replace GB64_reelected = 0 if GB64_district_name == "HITCHIN"
replace GB64_reelected = 0 if GB64_district_name == "HOLBORN AND ST.PANCRAS"
replace GB64_reelected = 1 if GB64_district_name == "HOLLAND WITH BOSTON"
replace GB64_reelected = 1 if GB64_district_name == "HONITON"
replace GB64_reelected = 1 if GB64_district_name == "HORNCASTLE"
replace GB64_reelected = 1 if GB64_district_name == "HORNCHURCH"
replace GB64_reelected = 1 if GB64_district_name == "HORNSEY"
replace GB64_reelected = 1 if GB64_district_name == "HORSHAM"
replace GB64_reelected = 1 if GB64_district_name == "HOUGHTON-LE-SPRING"
replace GB64_reelected = 1 if GB64_district_name == "HOVE"
replace GB64_reelected = 1 if GB64_district_name == "HOWDEN"
replace GB64_reelected = 1 if GB64_district_name == "HUDDERSFIELD,EAST"
replace GB64_reelected = 0 if GB64_district_name == "HUDDERSFIELD,WEST"
replace GB64_reelected = 1 if GB64_district_name == "HUNTINGDONSHIRE"
replace GB64_reelected = 1 if GB64_district_name == "HUYTON"
replace GB64_reelected = 1 if GB64_district_name == "ILFORD,NORTH"
replace GB64_reelected = 1 if GB64_district_name == "ILFORD,SOUTH"
replace GB64_reelected = 1 if GB64_district_name == "ILKESTON"
replace GB64_reelected = 1 if GB64_district_name == "INCE"
replace GB64_reelected = 0 if GB64_district_name == "INVERNESS"
replace GB64_reelected = 1 if GB64_district_name == "IPSWICH"
replace GB64_reelected = 1 if GB64_district_name == "THE ISLE OF ELY"
replace GB64_reelected = 1 if GB64_district_name == "ISLE OF THANET"
replace GB64_reelected = 1 if GB64_district_name == "ISLE OF WIGHT"
replace GB64_reelected = 1 if GB64_district_name == "ISLINGTON,EAST"
replace GB64_reelected = 1 if GB64_district_name == "ISLINGTON,NORTH"
replace GB64_reelected = 1 if GB64_district_name == "ISLINGTON,SOUTH WEST"
replace GB64_reelected = 1 if GB64_district_name == "JARROW"
replace GB64_reelected = 0 if GB64_district_name == "KEIGHLEY"
replace GB64_reelected = 1 if GB64_district_name == "KENSINGTON,NORTH"
replace GB64_reelected = 1 if GB64_district_name == "KENSINGTON,SOUTH"
replace GB64_reelected = 1 if GB64_district_name == "KETTERING"
replace GB64_reelected = 1 if GB64_district_name == "KIDDERMINSTER"
replace GB64_reelected = 1 if GB64_district_name == "KILMARNOCK"
replace GB64_reelected = 0 if GB64_district_name == "KING'S LYNN"
replace GB64_reelected = 1 if GB64_district_name == "KINGSTON-UPON-HULL EAST"
replace GB64_reelected = 0 if GB64_district_name == "KINGSTON-UPON-HULL NORTH"
replace GB64_reelected = 1 if GB64_district_name == "KINGSTON-UPON-HULL WEST"
replace GB64_reelected = 1 if GB64_district_name == "KINGSTON UPON THAMES"
replace GB64_reelected = 1 if GB64_district_name == "KINROSS AND WEST PERTHSHIRE"
replace GB64_reelected = 1 if GB64_district_name == "KIRKCALDY BURGHS"
replace GB64_reelected = 1 if GB64_district_name == "KNUTSFORD"
replace GB64_reelected = 1 if GB64_district_name == "LAMBETH,BRIXTON"
replace GB64_reelected = 1 if GB64_district_name == "LAMBETH,NORWOOD"
replace GB64_reelected = 1 if GB64_district_name == "LAMBETH,VAUXHALL"
replace GB64_reelected = 1 if GB64_district_name == "LANARK"
replace GB64_reelected = 1 if GB64_district_name == "NORTH LANARKSHIRE"
replace GB64_reelected = 1 if GB64_district_name == "LANCASTER"
replace GB64_reelected = 1 if GB64_district_name == "LEEDS,EAST"
replace GB64_reelected = 1 if GB64_district_name == "LEEDS,NORTH EAST"
replace GB64_reelected = 1 if GB64_district_name == "LEEDS,NORTH WEST"
replace GB64_reelected = 1 if GB64_district_name == "LEEDS,SOUTH"
replace GB64_reelected = 1 if GB64_district_name == "LEEDS,SOUTH EAST"
replace GB64_reelected = 1 if GB64_district_name == "LEEDS,WEST"
replace GB64_reelected = 1 if GB64_district_name == "LEEK"
replace GB64_reelected = 1 if GB64_district_name == "LEICESTER,NORTH EAST"
replace GB64_reelected = 1 if GB64_district_name == "LEICESTER,NORTH WEST"
replace GB64_reelected = 1 if GB64_district_name == "LEICESTER,SOUTH EAST"
replace GB64_reelected = 1 if GB64_district_name == "LEICESTER,SOUTH WEST"
replace GB64_reelected = 1 if GB64_district_name == "LEIGH"
replace GB64_reelected = 1 if GB64_district_name == "LEOMINSTER"
replace GB64_reelected = 1 if GB64_district_name == "LEWES"
replace GB64_reelected = 1 if GB64_district_name == "LEWISHAM,NORTH"
replace GB64_reelected = 1 if GB64_district_name == "LEWISHAM,SOUTH"
replace GB64_reelected = 1 if GB64_district_name == "LEWISHAM,WEST"
replace GB64_reelected = 1 if GB64_district_name == "LEYTON"
replace GB64_reelected = 1 if GB64_district_name == "LICHFIELD AND TAMWORTH"
replace GB64_reelected = 1 if GB64_district_name == "LINCOLN"
replace GB64_reelected = 1 if GB64_district_name == "LIVERPOOL,EDGE HILL"
replace GB64_reelected = 1 if GB64_district_name == "LIVERPOOL,EXCHANGE"
replace GB64_reelected = 1 if GB64_district_name == "LIVERPOOL,GARSTON"
replace GB64_reelected = 0 if GB64_district_name == "LIVERPOOL,KIRKDALE"
replace GB64_reelected = 1 if GB64_district_name == "LIVERPOOL,SCOTLAND"
replace GB64_reelected = 0 if GB64_district_name == "LIVERPOOL,TOXTETH"
replace GB64_reelected = 0 if GB64_district_name == "LIVERPOOL,WALTON"
replace GB64_reelected = 1 if GB64_district_name == "LIVERPOOL,WAVERTREE"
replace GB64_reelected = 0 if GB64_district_name == "LIVERPOOL,WEST DERBY"
replace GB64_reelected = 1 if GB64_district_name == "LLANELLI"
replace GB64_reelected = 1 if GB64_district_name == "CITIES OF LONDON AND WESTMINSTER"
replace GB64_reelected = 1 if GB64_district_name == "LONDONDERRY COUNTY"
replace GB64_reelected = 1 if GB64_district_name == "LOUGHBOROUGH"
replace GB64_reelected = 1 if GB64_district_name == "LOUTH"
replace GB64_reelected = 1 if GB64_district_name == "LOWESTOFT"
replace GB64_reelected = 1 if GB64_district_name == "LUDLOW"
replace GB64_reelected = 0 if GB64_district_name == "LUTON"
replace GB64_reelected = 1 if GB64_district_name == "MACCLESFIELD"
replace GB64_reelected = 1 if GB64_district_name == "MAIDSTONE"
replace GB64_reelected = 1 if GB64_district_name == "MALDON"
replace GB64_reelected = 1 if GB64_district_name == "MANCHESTER,ARDWICK"
replace GB64_reelected = 0 if GB64_district_name == "MANCHESTER,BLACKLEY"
replace GB64_reelected = 1 if GB64_district_name == "MANCHESTER,CHEETHAM"
replace GB64_reelected = 1 if GB64_district_name == "MANCHESTER,EXCHANGE"
replace GB64_reelected = 1 if GB64_district_name == "MANCHESTER,GORTON"
replace GB64_reelected = 1 if GB64_district_name == "MANCHESTER,MOSS SIDE"
replace GB64_reelected = 1 if GB64_district_name == "MANCHESTER,OPENSHAW"
replace GB64_reelected = 1 if GB64_district_name == "MANCHESTER,WITHINGTON"
replace GB64_reelected = 0 if GB64_district_name == "MANCHESTER,WYTHENSHAWE"
replace GB64_reelected = 1 if GB64_district_name == "MANSFIELD"
replace GB64_reelected = 1 if GB64_district_name == "MELTON"
replace GB64_reelected = 0 if GB64_district_name == "MERIDEN"
replace GB64_reelected = 1 if GB64_district_name == "MERIONETH"
replace GB64_reelected = 1 if GB64_district_name == "MERTHYR TYDFIL"
replace GB64_reelected = 1 if GB64_district_name == "MERTON AND MORDEN"
replace GB64_reelected = 1 if GB64_district_name == "MIDDLESBROUGH,EAST"
replace GB64_reelected = 0 if GB64_district_name == "MIDDLESBROUGH,WEST"
replace GB64_reelected = 1 if GB64_district_name == "MIDDLETON AND PRESTWICK"
replace GB64_reelected = 1 if GB64_district_name == "MIDLOTHIAN"
replace GB64_reelected = 1 if GB64_district_name == "MITCHAM"
replace GB64_reelected = 1 if GB64_district_name == "MONMOUTH"
replace GB64_reelected = 1 if GB64_district_name == "MONTGOMERY"
replace GB64_reelected = 1 if GB64_district_name == "MORAY AND NAIRN"
replace GB64_reelected = 1 if GB64_district_name == "MORECAMBE AND LONSDALE"
replace GB64_reelected = 1 if GB64_district_name == "MORPETH"
replace GB64_reelected = 1 if GB64_district_name == "MOTHERWELL"
replace GB64_reelected = 1 if GB64_district_name == "NANTWICH"
replace GB64_reelected = 1 if GB64_district_name == "NEATH"
replace GB64_reelected = 1 if GB64_district_name == "NELSON AND COLNE"
replace GB64_reelected = 1 if GB64_district_name == "NEWARK"
replace GB64_reelected = 1 if GB64_district_name == "NEWBURY"
replace GB64_reelected = 1 if GB64_district_name == "NEWCASTLE UNDER LYME"
replace GB64_reelected = 1 if GB64_district_name == "NEWCASTLE-UPON-TYNE CENTRAL"
replace GB64_reelected = 0 if GB64_district_name == "NEWCASTLE-UPON-TYNE EAST"
replace GB64_reelected = 1 if GB64_district_name == "NEWCASTLE-UPON-TYNE NORTH"
replace GB64_reelected = 1 if GB64_district_name == "NEWCASTLE-UPONTYNE WEST"
replace GB64_reelected = 1 if GB64_district_name == "NEW FOREST"
replace GB64_reelected = 1 if GB64_district_name == "NEWPORT"
replace GB64_reelected = 1 if GB64_district_name == "NEWTON"
replace GB64_reelected = 1 if GB64_district_name == "CENTRAL NORFOLK"
replace GB64_reelected = 1 if GB64_district_name == "NORTH NORFOLK"
replace GB64_reelected = 1 if GB64_district_name == "SOUTH NORFOLK"
replace GB64_reelected = 0 if GB64_district_name == "SOUTH WEST NORFOLK"
replace GB64_reelected = 1 if GB64_district_name == "NORMANTON"
replace GB64_reelected = 1 if GB64_district_name == "NORTHAMPTON"
replace GB64_reelected = 1 if GB64_district_name == "SOUTH NORTHAMPTONSHIRE"
replace GB64_reelected = 1 if GB64_district_name == "NORTH FYLDE"
replace GB64_reelected = 1 if GB64_district_name == "NORTHWICH"
replace GB64_reelected = 1 if GB64_district_name == "NORWICH,NORTH"
replace GB64_reelected = 0 if GB64_district_name == "NORWICH,SOUTH"
replace GB64_reelected = 0 if GB64_district_name == "NOTTINGHAM,CENTRAL"
replace GB64_reelected = 1 if GB64_district_name == "NOTTINGHAM,NORTH"
replace GB64_reelected = 1 if GB64_district_name == "NOTTINGHAM,SOUTH"
replace GB64_reelected = 0 if GB64_district_name == "NOTTINGHAM,WEST"
replace GB64_reelected = 1 if GB64_district_name == "NUNEATON"
replace GB64_reelected = 1 if GB64_district_name == "OGMORE"
replace GB64_reelected = 1 if GB64_district_name == "OLDBURY AND HALESOWEN"
replace GB64_reelected = 1 if GB64_district_name == "OLDHAM,EAST"
replace GB64_reelected = 1 if GB64_district_name == "OLDHAM,WEST"
replace GB64_reelected = 1 if GB64_district_name == "ORKNEY AND ZETLAND"
replace GB64_reelected = 1 if GB64_district_name == "ORMSKIRK"
replace GB64_reelected = 0 if GB64_district_name == "ORPINGTON"
replace GB64_reelected = 1 if GB64_district_name == "OSWESTRY"
replace GB64_reelected = 1 if GB64_district_name == "OXFORD"
replace GB64_reelected = 1 if GB64_district_name == "PADDINGTON,NORTH"
replace GB64_reelected = 1 if GB64_district_name == "PADDINGTON,SOUTH"
replace GB64_reelected = 1 if GB64_district_name == "PAISLEY"
replace GB64_reelected = 1 if GB64_district_name == "PEMBROKE"
replace GB64_reelected = 1 if GB64_district_name == "PENISTONE"
replace GB64_reelected = 1 if GB64_district_name == "PENRITH AND THE BORDERS"
replace GB64_reelected = 1 if GB64_district_name == "PERTH AND EAST PERTHSHIRE"
replace GB64_reelected = 1 if GB64_district_name == "PETERBOROUGH"
replace GB64_reelected = 1 if GB64_district_name == "PETERSFIELD"
replace GB64_reelected = 1 if GB64_district_name == "PLYMOUTH,DEVONPORT"
replace GB64_reelected = 1 if GB64_district_name == "PLYMOUTH,SUTTON"
replace GB64_reelected = 1 if GB64_district_name == "PONTEFRACT"
replace GB64_reelected = 1 if GB64_district_name == "PONTYPOOL"
replace GB64_reelected = 1 if GB64_district_name == "PONTYPRIDD"
replace GB64_reelected = 1 if GB64_district_name == "POOLE"
replace GB64_reelected = 1 if GB64_district_name == "POPLAR"
replace GB64_reelected = 1 if GB64_district_name == "PORTSMOUTH,LANGSTON"
replace GB64_reelected = 1 if GB64_district_name == "PORTSMOUTH,SOUTH"
replace GB64_reelected = 1 if GB64_district_name == "PORTSMOUTH,WEST"
replace GB64_reelected = 1 if GB64_district_name == "PRESTON,NORTH"
replace GB64_reelected = 0 if GB64_district_name == "PRESTON,SOUTH"
replace GB64_reelected = 1 if GB64_district_name == "PUDSEY"
replace GB64_reelected = 1 if GB64_district_name == "READING"
replace GB64_reelected = 1 if GB64_district_name == "REIGATE"
replace GB64_reelected = 1 if GB64_district_name == "EAST RENFREWSHIRE"
replace GB64_reelected = 0 if GB64_district_name == "WEST RENFREWSHIRE"
replace GB64_reelected = 1 if GB64_district_name == "RHONDDA,EAST"
replace GB64_reelected = 1 if GB64_district_name == "RHONDDA,WEST"
replace GB64_reelected = 1 if GB64_district_name == "RICHMOND (SURREY)"
replace GB64_reelected = 1 if GB64_district_name == "RICHMOND (YORKSHIRE)"
replace GB64_reelected = 1 if GB64_district_name == "RIPON"
replace GB64_reelected = 1 if GB64_district_name == "ROCHDALE"
replace GB64_reelected = 0 if GB64_district_name == "ROCHESTER AND CHATHAM"
replace GB64_reelected = 1 if GB64_district_name == "ROMFORD"
replace GB64_reelected = 0 if GB64_district_name == "ROSS AND CROMARTY"
replace GB64_reelected = 1 if GB64_district_name == "ROSSENDALE"
replace GB64_reelected = 1 if GB64_district_name == "ROTHERHAM"
replace GB64_reelected = 1 if GB64_district_name == "ROTHER VALLEY"
replace GB64_reelected = 1 if GB64_district_name == "ROWLEY REGIS AND TIPTON"
replace GB64_reelected = 1 if GB64_district_name == "ROXBURGH, SELKIRK AND PEEBLES"
replace GB64_reelected = 1 if GB64_district_name == "RUGBY"
replace GB64_reelected = 1 if GB64_district_name == "RUISLIP-NORTHWOOD"
replace GB64_reelected = 1 if GB64_district_name == "RUNCORN"
replace GB64_reelected = 1 if GB64_district_name == "RUSHCLIFFE"
replace GB64_reelected = 0 if GB64_district_name == "RUTHERGLEN"
replace GB64_reelected = 1 if GB64_district_name == "RUTLAND AND STAMFORD"
replace GB64_reelected = 1 if GB64_district_name == "RYE"
replace GB64_reelected = 1 if GB64_district_name == "SAFFRON WALDON"
replace GB64_reelected = 1 if GB64_district_name == "ST.ALBANS"
replace GB64_reelected = 1 if GB64_district_name == "ST.HELENS"
replace GB64_reelected = 1 if GB64_district_name == "ST.IVES"
replace GB64_reelected = 1 if GB64_district_name == "ST.MARYLEBONE"
replace GB64_reelected = 1 if GB64_district_name == "ST.PANCRAS NORTH"
replace GB64_reelected = 1 if GB64_district_name == "SALFORD,EAST"
replace GB64_reelected = 1 if GB64_district_name == "SALFORD,WEST"
replace GB64_reelected = 1 if GB64_district_name == "SALISBURY"
replace GB64_reelected = 1 if GB64_district_name == "SCARBOROUGH AND WHITBY"
replace GB64_reelected = 1 if GB64_district_name == "SEDGEFIELD"
replace GB64_reelected = 1 if GB64_district_name == "SEVENOAKS"
replace GB64_reelected = 1 if GB64_district_name == "SHEFFIELD,ATTERCLIFFE"
replace GB64_reelected = 1 if GB64_district_name == "SHEFFIELD,BRIGHTSIDE"
replace GB64_reelected = 1 if GB64_district_name == "SHEFFIELD,HALLAM"
replace GB64_reelected = 1 if GB64_district_name == "SHEFFIELD,HEELEY"
replace GB64_reelected = 1 if GB64_district_name == "SHEFFIELD,HILLSBOROUGH"
replace GB64_reelected = 1 if GB64_district_name == "SHEFFIELD,PARK"
replace GB64_reelected = 1 if GB64_district_name == "SHIPLEY"
replace GB64_reelected = 1 if GB64_district_name == "SHOREDITCH AND FINSBURY"
replace GB64_reelected = 1 if GB64_district_name == "SHREWSBURY"
replace GB64_reelected = 1 if GB64_district_name == "SKIPTON"
replace GB64_reelected = 0 if GB64_district_name == "SMETHWICK"
replace GB64_reelected = 1 if GB64_district_name == "SOLIHULL"
replace GB64_reelected = 1 if GB64_district_name == "NORTH SOMERSET"
replace GB64_reelected = 1 if GB64_district_name == "SOUTHALL"
replace GB64_reelected = 1 if GB64_district_name == "SOUTHAMPTON,ITCHEN"
replace GB64_reelected = 1 if GB64_district_name == "SOUTHAMPTON,TEST"
replace GB64_reelected = 1 if GB64_district_name == "SOUTHEND EAST"
replace GB64_reelected = 1 if GB64_district_name == "SOUTHEND WEST"
replace GB64_reelected = 1 if GB64_district_name == "SOUTH FYLDE"
replace GB64_reelected = 1 if GB64_district_name == "SOUTHGATE"
replace GB64_reelected = 1 if GB64_district_name == "SOUTHPORT"
replace GB64_reelected = 1 if GB64_district_name == "SOUTH SHIELDS"
replace GB64_reelected = 1 if GB64_district_name == "SOUTHWARK"
replace GB64_reelected = 1 if GB64_district_name == "SOWERBY"
replace GB64_reelected = 1 if GB64_district_name == "SPELTHORNE"
replace GB64_reelected = 1 if GB64_district_name == "STAFFORD AND STONE"
replace GB64_reelected = 1 if GB64_district_name == "STALYBRIDGE AND HYDE"
replace GB64_reelected = 1 if GB64_district_name == "STEPNEY"
replace GB64_reelected = 1 if GB64_district_name == "STIRLING AND FALKIRK"
replace GB64_reelected = 1 if GB64_district_name == "CLACKMANNAN AND EAST STIRLINGSHIRE"
replace GB64_reelected = 1 if GB64_district_name == "WEST STIRLINGSHIRE"
replace GB64_reelected = 0 if GB64_district_name == "STOCKPORT NORTH"
replace GB64_reelected = 0 if GB64_district_name == "STOCKPORT SOUTH"
replace GB64_reelected = 1 if GB64_district_name == "STOCKTON-ON-TEES"
replace GB64_reelected = 1 if GB64_district_name == "STOKE NEWINGTON AND HACKNEY NORTH"
replace GB64_reelected = 1 if GB64_district_name == "STOKE ON TRENT,CENTRAL"
replace GB64_reelected = 1 if GB64_district_name == "STOKE ON TRENT,NORTH"
replace GB64_reelected = 1 if GB64_district_name == "STOKE ON TRENT,SOUTH"
replace GB64_reelected = 1 if GB64_district_name == "STRATFORD"
replace GB64_reelected = 1 if GB64_district_name == "STRETFORD"
replace GB64_reelected = 1 if GB64_district_name == "STROUD"
replace GB64_reelected = 1 if GB64_district_name == "SUDBURY AND WOODBRIDGE"
replace GB64_reelected = 1 if GB64_district_name == "SUNDERLAND NORTH"
replace GB64_reelected = 0 if GB64_district_name == "SUNDERLAND SOUTH"
replace GB64_reelected = 1 if GB64_district_name == "SURBITON"
replace GB64_reelected = 1 if GB64_district_name == "EAST SURREY"
replace GB64_reelected = 1 if GB64_district_name == "SUTTON AND CHEAM"
replace GB64_reelected = 1 if GB64_district_name == "SUTTON COLDFIELD"
replace GB64_reelected = 1 if GB64_district_name == "SWANSEA,EAST"
replace GB64_reelected = 0 if GB64_district_name == "SWANSEA,WEST"
replace GB64_reelected = 1 if GB64_district_name == "SWINDON"
replace GB64_reelected = 1 if GB64_district_name == "TAUNTON"
replace GB64_reelected = 1 if GB64_district_name == "TAVISTOCK"
replace GB64_reelected = 1 if GB64_district_name == "THIRSK AND MALTON"
replace GB64_reelected = 1 if GB64_district_name == "THURROCK"
replace GB64_reelected = 1 if GB64_district_name == "TIVERTON"
replace GB64_reelected = 1 if GB64_district_name == "TONBRIDGE"
replace GB64_reelected = 1 if GB64_district_name == "TORQUAY"
replace GB64_reelected = 1 if GB64_district_name == "TORRINGTON"
replace GB64_reelected = 1 if GB64_district_name == "TOTNES"
replace GB64_reelected = 1 if GB64_district_name == "TOTTENHAM"
replace GB64_reelected = 1 if GB64_district_name == "TRURO"
replace GB64_reelected = 1 if GB64_district_name == "TWICKENHAM"
replace GB64_reelected = 1 if GB64_district_name == "TYNEMOUTH"
replace GB64_reelected = 1 if GB64_district_name == "ULSTER MID"
replace GB64_reelected = 1 if GB64_district_name == "UXBRIDGE"
replace GB64_reelected = 1 if GB64_district_name == "WAKEFIELD"
replace GB64_reelected = 1 if GB64_district_name == "WALLASEY"
replace GB64_reelected = 1 if GB64_district_name == "WALLSEND"
replace GB64_reelected = 1 if GB64_district_name == "WALSALL,NORTH"
replace GB64_reelected = 1 if GB64_district_name == "WALSALL,SOUTH"
replace GB64_reelected = 1 if GB64_district_name == "WALTHAMSTOW,EAST"
replace GB64_reelected = 1 if GB64_district_name == "WALTHAMSTOW,WEST"
replace GB64_reelected = 0 if GB64_district_name == "WANDSWORTH,CENTRAL"
replace GB64_reelected = 0 if GB64_district_name == "WANDSWORTH,CLAPHAM"
replace GB64_reelected = 0 if GB64_district_name == "WANDSWORTH,PUTNEY"
replace GB64_reelected = 1 if GB64_district_name == "WANDSWORTH,STREATHAM"
replace GB64_reelected = 1 if GB64_district_name == "WANSTEAD AND WOODFORD"
replace GB64_reelected = 1 if GB64_district_name == "WARRINGTON"
replace GB64_reelected = 1 if GB64_district_name == "WARWICK AND LEAMINGTON"
replace GB64_reelected = 0 if GB64_district_name == "WATFORD"
replace GB64_reelected = 1 if GB64_district_name == "WEDNESBURY"
replace GB64_reelected = 0 if GB64_district_name == "WELLINGBOROUGH"
replace GB64_reelected = 1 if GB64_district_name == "WELLS"
replace GB64_reelected = 1 if GB64_district_name == "WEMBLEY NORTH"
replace GB64_reelected = 1 if GB64_district_name == "WEMBLEY SOUTH"
replace GB64_reelected = 1 if GB64_district_name == "WEST BROMWICH"
replace GB64_reelected = 1 if GB64_district_name == "WESTBURY"
replace GB64_reelected = 1 if GB64_district_name == "WESTERN ISLES"
replace GB64_reelected = 1 if GB64_district_name == "WEST HAM NORTH"
replace GB64_reelected = 1 if GB64_district_name == "WEST HAM SOUTH"
replace GB64_reelected = 1 if GB64_district_name == "WESTHOUGHTON"
replace GB64_reelected = 1 if GB64_district_name == "WEST LOTHIAN"
replace GB64_reelected = 1 if GB64_district_name == "WESTMORLAND"
replace GB64_reelected = 1 if GB64_district_name == "WESTON SUPER MARE"
replace GB64_reelected = 1 if GB64_district_name == "WHITEHAVEN"
replace GB64_reelected = 1 if GB64_district_name == "WIDNES"
replace GB64_reelected = 1 if GB64_district_name == "WIGAN"
replace GB64_reelected = 0 if GB64_district_name == "WILLESDEN,EAST"
replace GB64_reelected = 1 if GB64_district_name == "WILLESDEN,WEST"
replace GB64_reelected = 1 if GB64_district_name == "WIMBLEDON"
replace GB64_reelected = 1 if GB64_district_name == "WINCHESTER"
replace GB64_reelected = 1 if GB64_district_name == "WINDSOR"
replace GB64_reelected = 1 if GB64_district_name == "WIRRAL"
replace GB64_reelected = 1 if GB64_district_name == "WOKING"
replace GB64_reelected = 1 if GB64_district_name == "WOKINGHAM"
replace GB64_reelected = 1 if GB64_district_name == "WOLVERHAMPTON NORTH EAST"
replace GB64_reelected = 1 if GB64_district_name == "WOLVERHAMPTON SOUTH WEST"
replace GB64_reelected = 1 if GB64_district_name == "WOOD GREEN"
replace GB64_reelected = 1 if GB64_district_name == "WOOLWICH,EAST"
replace GB64_reelected = 0 if GB64_district_name == "WOOLWICH,WEST"
replace GB64_reelected = 1 if GB64_district_name == "WORCESTER"
replace GB64_reelected = 1 if GB64_district_name == "SOUTH WORCESTERSHIRE"
replace GB64_reelected = 1 if GB64_district_name == "WORKINGTON"
replace GB64_reelected = 1 if GB64_district_name == "WORTHING"
replace GB64_reelected = 1 if GB64_district_name == "THE WREKIN"
replace GB64_reelected = 1 if GB64_district_name == "WREXHAM"
replace GB64_reelected = 1 if GB64_district_name == "WYCOMBE"
replace GB64_reelected = 1 if GB64_district_name == "YARMOUTH"
replace GB64_reelected = 1 if GB64_district_name == "YEOVIL"
replace GB64_reelected = 1 if GB64_district_name == "YORK"


**********************************************
** DISTRICT OUTCOMES: 1966 GENERAL ELECTION **
**********************************************

* Note: 1 = Conservative, 2 = Labour, 3 = Liberal, 4 = Nationalists, 5 = Other
							
gen GB66_district_outcome = .

replace GB66_district_outcome = 2 if GB66_district_name == "ABERAVON"
replace GB66_district_outcome = 2 if GB66_district_name == "ABERDARE"
replace GB66_district_outcome = 2 if GB66_district_name == "ABERDEEN NORTH"
replace GB66_district_outcome = 2 if GB66_district_name == "ABERDEEN SOUTH"
replace GB66_district_outcome = 1 if GB66_district_name == "EAST ABERDEENSHIRE"
replace GB66_district_outcome = 3 if GB66_district_name == "WEST ABERDEENSHIRE"
replace GB66_district_outcome = 2 if GB66_district_name == "ABERTILLERY"
replace GB66_district_outcome = 1 if GB66_district_name == "ABINGDON"
replace GB66_district_outcome = 2 if GB66_district_name == "ACCRINGTON"
replace GB66_district_outcome = 2 if GB66_district_name == "ACTON"
replace GB66_district_outcome = 1 if GB66_district_name == "ALDERSHOT"
replace GB66_district_outcome = 1 if GB66_district_name == "ALTRINCHAM AND SALE"
replace GB66_district_outcome = 2 if GB66_district_name == "ANGLESEY"
replace GB66_district_outcome = 1 if GB66_district_name == "NORTH ANGUS AND MEARNS"
replace GB66_district_outcome = 1 if GB66_district_name == "SOUTH ANGUS"
replace GB66_district_outcome = 1 if GB66_district_name == "ANTRIM NORTH"
replace GB66_district_outcome = 1 if GB66_district_name == "ANTRIM SOUTH"
replace GB66_district_outcome = 1 if GB66_district_name == "ARGYLL"
replace GB66_district_outcome = 1 if GB66_district_name == "ARMAGH"
replace GB66_district_outcome = 1 if GB66_district_name == "ARUNDEL AND SHOREHAM"
replace GB66_district_outcome = 2 if GB66_district_name == "ASHFIELD"
replace GB66_district_outcome = 1 if GB66_district_name == "ASHFORD"
replace GB66_district_outcome = 2 if GB66_district_name == "ASHTON UNDER LYNE"
replace GB66_district_outcome = 1 if GB66_district_name == "AYLESBURY"
replace GB66_district_outcome = 1 if GB66_district_name == "AYR"
replace GB66_district_outcome = 2 if GB66_district_name == "CENTRAL AYRSHIRE"
replace GB66_district_outcome = 1 if GB66_district_name == "BUTE AND NORTH AYRSHIRE"
replace GB66_district_outcome = 2 if GB66_district_name == "SOUTH AYRSHIRE"
replace GB66_district_outcome = 1 if GB66_district_name == "BANBURY"
replace GB66_district_outcome = 1 if GB66_district_name == "BANFF"
replace GB66_district_outcome = 2 if GB66_district_name == "BARKING"
replace GB66_district_outcome = 1 if GB66_district_name == "BARKSTON ASH"
replace GB66_district_outcome = 1 if GB66_district_name == "BARNET"
replace GB66_district_outcome = 2 if GB66_district_name == "BARNSLEY"
replace GB66_district_outcome = 2 if GB66_district_name == "BARONS COURT"
replace GB66_district_outcome = 2 if GB66_district_name == "BARROW IN FURNESS"
replace GB66_district_outcome = 1 if GB66_district_name == "BARRY"
replace GB66_district_outcome = 1 if GB66_district_name == "BASINGSTOKE"
replace GB66_district_outcome = 2 if GB66_district_name == "BASSETLAW"
replace GB66_district_outcome = 1 if GB66_district_name == "BATH"
replace GB66_district_outcome = 2 if GB66_district_name == "BATLEY AND MORLEY"
replace GB66_district_outcome = 2 if GB66_district_name == "BATTERSEA,NORTH"
replace GB66_district_outcome = 2 if GB66_district_name == "BATTERSEA,SOUTH"
replace GB66_district_outcome = 2 if GB66_district_name == "BEBINGTON"
replace GB66_district_outcome = 1 if GB66_district_name == "BECKENHAM"
replace GB66_district_outcome = 2 if GB66_district_name == "BEDFORD"
replace GB66_district_outcome = 1 if GB66_district_name == "MID-BEDFORDSHIRE"
replace GB66_district_outcome = 2 if GB66_district_name == "SOUTH BEDFORDSHIRE"
replace GB66_district_outcome = 2 if GB66_district_name == "BEDWELLTY"
replace GB66_district_outcome = 1 if GB66_district_name == "BELFAST EAST"
replace GB66_district_outcome = 1 if GB66_district_name == "BELFAST NORTH"
replace GB66_district_outcome = 1 if GB66_district_name == "BELFAST SOUTH"
replace GB66_district_outcome = 5 if GB66_district_name == "BELFAST WEST"
replace GB66_district_outcome = 2 if GB66_district_name == "BELPER"
replace GB66_district_outcome = 2 if GB66_district_name == "BERMONDSEY"
replace GB66_district_outcome = 2 if GB66_district_name == "BERWICK AND EAST LOTHIAN"
replace GB66_district_outcome = 1 if GB66_district_name == "BERWICK UPON TWEED"
replace GB66_district_outcome = 2 if GB66_district_name == "BETHNAL GREEN"
replace GB66_district_outcome = 1 if GB66_district_name == "BEXLEY"
replace GB66_district_outcome = 2 if GB66_district_name == "BILLERICAY"
replace GB66_district_outcome = 2 if GB66_district_name == "BILSTON"
replace GB66_district_outcome = 2 if GB66_district_name == "BIRKENHEAD"
replace GB66_district_outcome = 2 if GB66_district_name == "BIRMINGHAM,ALL SAINTS"
replace GB66_district_outcome = 2 if GB66_district_name == "BIRMINGHAM,ASTON"
replace GB66_district_outcome = 1 if GB66_district_name == "BIRMINGHAM,EDGBASTON"
replace GB66_district_outcome = 1 if GB66_district_name == "BIRMINGHAM,HALL GREEN"
replace GB66_district_outcome = 1 if GB66_district_name == "BIRMINGHAM,HANDSWORTH"
replace GB66_district_outcome = 2 if GB66_district_name == "BIRMINGHAM,LADYWOOD"
replace GB66_district_outcome = 2 if GB66_district_name == "BIRMINGHAM,NORTHFIED"
replace GB66_district_outcome = 2 if GB66_district_name == "BIRMINGHAM,PERRY BARR"
replace GB66_district_outcome = 1 if GB66_district_name == "BIRMINGHAM,SELLY OAK"
replace GB66_district_outcome = 2 if GB66_district_name == "BIRMINGHAM,SMALL HEATH"
replace GB66_district_outcome = 2 if GB66_district_name == "BIRMINGHAM,SPARKBROOK"
replace GB66_district_outcome = 2 if GB66_district_name == "BIRMINGHAM,STECHFORD"
replace GB66_district_outcome = 2 if GB66_district_name == "BIRMINGHAM,YARDLEY"
replace GB66_district_outcome = 2 if GB66_district_name == "BISHOP AUCKLAND"
replace GB66_district_outcome = 2 if GB66_district_name == "BLACKBURN"
replace GB66_district_outcome = 1 if GB66_district_name == "BLACKPOOL,NORTH"
replace GB66_district_outcome = 1 if GB66_district_name == "BLACKPOOL,SOUTH"
replace GB66_district_outcome = 2 if GB66_district_name == "BLAYDON"
replace GB66_district_outcome = 2 if GB66_district_name == "BLYTH"
replace GB66_district_outcome = 3 if GB66_district_name == "BODMIN"
replace GB66_district_outcome = 2 if GB66_district_name == "BOLSOVER"
replace GB66_district_outcome = 2 if GB66_district_name == "BOLTON,EAST"
replace GB66_district_outcome = 2 if GB66_district_name == "BOLTON,WEST"
replace GB66_district_outcome = 2 if GB66_district_name == "BOOTLE"
replace GB66_district_outcome = 2 if GB66_district_name == "BOSWORTH"
replace GB66_district_outcome = 2 if GB66_district_name == "BOTHWELL"
replace GB66_district_outcome = 1 if GB66_district_name == "BOURNEMOUTH EAST AND CHRISTCHURCH"
replace GB66_district_outcome = 1 if GB66_district_name == "BOURNEMOUTH WEST"
replace GB66_district_outcome = 2 if GB66_district_name == "BRADFORD,EAST"
replace GB66_district_outcome = 2 if GB66_district_name == "BRADFORD,NORTH"
replace GB66_district_outcome = 2 if GB66_district_name == "BRADFORD,SOUTH"
replace GB66_district_outcome = 2 if GB66_district_name == "BRADFORD,WEST"
replace GB66_district_outcome = 2 if GB66_district_name == "BRECON AND RADNOR"
replace GB66_district_outcome = 2 if GB66_district_name == "BRENTFORD AND CHISWICK"
replace GB66_district_outcome = 1 if GB66_district_name == "BRIDGWATER"
replace GB66_district_outcome = 1 if GB66_district_name == "BRIDLINGTON"
replace GB66_district_outcome = 1 if GB66_district_name == "BRIERLEY HILL"
replace GB66_district_outcome = 2 if GB66_district_name == "BRIGG"
replace GB66_district_outcome = 2 if GB66_district_name == "BRIGHOUSE AND SPENBOROUGH"
replace GB66_district_outcome = 2 if GB66_district_name == "BRIGHTON,KEMPTOWN"
replace GB66_district_outcome = 1 if GB66_district_name == "BRIGHTON,PAVILION"
replace GB66_district_outcome = 2 if GB66_district_name == "BRISTOL,CENTRAL"
replace GB66_district_outcome = 2 if GB66_district_name == "BRISTOL,NORTH EAST"
replace GB66_district_outcome = 2 if GB66_district_name == "BRISTOL,NORTH WEST"
replace GB66_district_outcome = 2 if GB66_district_name == "BRISTOL,SOUTH"
replace GB66_district_outcome = 2 if GB66_district_name == "BRISTOL,SOUTH EAST"
replace GB66_district_outcome = 1 if GB66_district_name == "BRISTOL,WEST"
replace GB66_district_outcome = 1 if GB66_district_name == "BROMLEY"
replace GB66_district_outcome = 1 if GB66_district_name == "BROMSGROVE"
replace GB66_district_outcome = 2 if GB66_district_name == "BUCKINGHAM"
replace GB66_district_outcome = 1 if GB66_district_name == "SOUTH BUCKINGHAMSHIRE"
replace GB66_district_outcome = 2 if GB66_district_name == "BURNLEY"
replace GB66_district_outcome = 1 if GB66_district_name == "BURTON"
replace GB66_district_outcome = 2 if GB66_district_name == "BURY AND RADCLIFFE"
replace GB66_district_outcome = 1 if GB66_district_name == "BURY ST.EDMUNDS"
replace GB66_district_outcome = 2 if GB66_district_name == "CAERNARVON"
replace GB66_district_outcome = 2 if GB66_district_name == "CAERPHILLY"
replace GB66_district_outcome = 2 if GB66_district_name == "CAITHNESS AND SUTHERLAND"
replace GB66_district_outcome = 2 if GB66_district_name == "CAMBERWELL,DULWICH"
replace GB66_district_outcome = 2 if GB66_district_name == "CAMBERWELL,PECKHAM"
replace GB66_district_outcome = 2 if GB66_district_name == "CAMBRIDGE"
replace GB66_district_outcome = 1 if GB66_district_name == "CAMBRIDGESHIRE"
replace GB66_district_outcome = 2 if GB66_district_name == "CANNOCK"
replace GB66_district_outcome = 1 if GB66_district_name == "CANTERBURY"
replace GB66_district_outcome = 2 if GB66_district_name == "CARDIFF,NORTH"
replace GB66_district_outcome = 2 if GB66_district_name == "CARDIFF,SOUTH EAST"
replace GB66_district_outcome = 2 if GB66_district_name == "CARDIFF,WEST"
replace GB66_district_outcome = 2 if GB66_district_name == "CARDIGAN"
replace GB66_district_outcome = 2 if GB66_district_name == "CARLISLE"
replace GB66_district_outcome = 1 if GB66_district_name == "CARLTON"
replace GB66_district_outcome = 2 if GB66_district_name == "CARMARTHEN"
replace GB66_district_outcome = 1 if GB66_district_name == "CARSHALTON"
replace GB66_district_outcome = 3 if GB66_district_name == "CHEADLE"
replace GB66_district_outcome = 1 if GB66_district_name == "CHELMSFORD"
replace GB66_district_outcome = 1 if GB66_district_name == "CHELSEA"
replace GB66_district_outcome = 1 if GB66_district_name == "CHELTENHAM"
replace GB66_district_outcome = 1 if GB66_district_name == "CHERTSEY"
replace GB66_district_outcome = 1 if GB66_district_name == "CITY OF CHESTER"
replace GB66_district_outcome = 2 if GB66_district_name == "CHESTERFIELD"
replace GB66_district_outcome = 2 if GB66_district_name == "CHESTER-LE-STREET"
replace GB66_district_outcome = 1 if GB66_district_name == "CHICHESTER"
replace GB66_district_outcome = 1 if GB66_district_name == "CHIGWELL"
replace GB66_district_outcome = 1 if GB66_district_name == "CHIPPENHAM"
replace GB66_district_outcome = 2 if GB66_district_name == "CHISLEHURST"
replace GB66_district_outcome = 2 if GB66_district_name == "CHORLEY"
replace GB66_district_outcome = 1 if GB66_district_name == "CIRENCESTER AND TEWKESBURY"
replace GB66_district_outcome = 2 if GB66_district_name == "CLEVELAND"
replace GB66_district_outcome = 1 if GB66_district_name == "CLITHEROE"
replace GB66_district_outcome = 2 if GB66_district_name == "COATBRIDGE AND AIRDRIE"
replace GB66_district_outcome = 1 if GB66_district_name == "COLCHESTER"
replace GB66_district_outcome = 3 if GB66_district_name == "COLNE VALLEY"
replace GB66_district_outcome = 2 if GB66_district_name == "CONSETT"
replace GB66_district_outcome = 2 if GB66_district_name == "CONWAY"
replace GB66_district_outcome = 3 if GB66_district_name == "NORTH CORNWALL"
replace GB66_district_outcome = 2 if GB66_district_name == "COVENTRY,EAST"
replace GB66_district_outcome = 2 if GB66_district_name == "COVENTRY,NORTH"
replace GB66_district_outcome = 2 if GB66_district_name == "COVENTRY,SOUTH"
replace GB66_district_outcome = 2 if GB66_district_name == "CREWE"
replace GB66_district_outcome = 1 if GB66_district_name == "CROSBY"
replace GB66_district_outcome = 1 if GB66_district_name == "CROYDON,NORTH EAST"
replace GB66_district_outcome = 1 if GB66_district_name == "CROYDON,NORTH WEST"
replace GB66_district_outcome = 2 if GB66_district_name == "CROYDON,SOUTH"
replace GB66_district_outcome = 2 if GB66_district_name == "DAGENHAM"
replace GB66_district_outcome = 2 if GB66_district_name == "DARLINGTON"
replace GB66_district_outcome = 2 if GB66_district_name == "DARTFORD"
replace GB66_district_outcome = 1 if GB66_district_name == "DARWEN"
replace GB66_district_outcome = 2 if GB66_district_name == "DEARNE VALLEY"
replace GB66_district_outcome = 1 if GB66_district_name == "DENBIGH"
replace GB66_district_outcome = 2 if GB66_district_name == "DEPTFORD"
replace GB66_district_outcome = 2 if GB66_district_name == "DERBY NORTH"
replace GB66_district_outcome = 2 if GB66_district_name == "DERBY SOUTH"
replace GB66_district_outcome = 2 if GB66_district_name == "NORTH EAST DERBYSHIRE"
replace GB66_district_outcome = 2 if GB66_district_name == "SOUTH EAST DERBYSHIRE"
replace GB66_district_outcome = 1 if GB66_district_name == "WEST DERBYSHIRE"
replace GB66_district_outcome = 1 if GB66_district_name == "DEVIZES"
replace GB66_district_outcome = 3 if GB66_district_name == "NORTH DEVON"
replace GB66_district_outcome = 2 if GB66_district_name == "DEWSBURY"
replace GB66_district_outcome = 2 if GB66_district_name == "DONCASTER"
replace GB66_district_outcome = 2 if GB66_district_name == "DON VALLEY"
replace GB66_district_outcome = 1 if GB66_district_name == "DORKING"
replace GB66_district_outcome = 1 if GB66_district_name == "NORTH DORSET"
replace GB66_district_outcome = 1 if GB66_district_name == "SOUTH DORSET"
replace GB66_district_outcome = 1 if GB66_district_name == "WEST DORSET"
replace GB66_district_outcome = 2 if GB66_district_name == "DOVER"
replace GB66_district_outcome = 1 if GB66_district_name == "DOWN NORTH"
replace GB66_district_outcome = 1 if GB66_district_name == "DOWN SOUTH"
replace GB66_district_outcome = 2 if GB66_district_name == "DUDLEY"
replace GB66_district_outcome = 1 if GB66_district_name == "DUMFRIES"
replace GB66_district_outcome = 2 if GB66_district_name == "EAST DUNBARTONSHIRE"
replace GB66_district_outcome = 2 if GB66_district_name == "WEST DUNBARTONSHIRE"
replace GB66_district_outcome = 2 if GB66_district_name == "DUNDEE EAST"
replace GB66_district_outcome = 2 if GB66_district_name == "DUNDEE WEST"
replace GB66_district_outcome = 2 if GB66_district_name == "DUNFERMLINE BURGHS"
replace GB66_district_outcome = 2 if GB66_district_name == "DURHAM"
replace GB66_district_outcome = 2 if GB66_district_name == "NORTH WEST DURHAM"
replace GB66_district_outcome = 2 if GB66_district_name == "EALING,NORTH"
replace GB66_district_outcome = 1 if GB66_district_name == "EALING,SOUTH"
replace GB66_district_outcome = 2 if GB66_district_name == "EASINGTON"
replace GB66_district_outcome = 1 if GB66_district_name == "EASTBOURNE"
replace GB66_district_outcome = 1 if GB66_district_name == "EAST GRINSTEAD"
replace GB66_district_outcome = 2 if GB66_district_name == "EAST HAM,NORTH"
replace GB66_district_outcome = 2 if GB66_district_name == "EAST HAM,SOUTH"
replace GB66_district_outcome = 1 if GB66_district_name == "EASTLEIGH"
replace GB66_district_outcome = 2 if GB66_district_name == "EBBW VALE"
replace GB66_district_outcome = 2 if GB66_district_name == "ECCLES"
replace GB66_district_outcome = 2 if GB66_district_name == "EDINBURGH CENTRAL"
replace GB66_district_outcome = 2 if GB66_district_name == "EDINBURGH EAST"
replace GB66_district_outcome = 2 if GB66_district_name == "EDINBURGH LEITH"
replace GB66_district_outcome = 1 if GB66_district_name == "EDINBURGH NORTH"
replace GB66_district_outcome = 1 if GB66_district_name == "EDINBURGH PENTLANDS"
replace GB66_district_outcome = 1 if GB66_district_name == "EDINBURGH SOUTH"
replace GB66_district_outcome = 1 if GB66_district_name == "EDINBURGH WEST"
replace GB66_district_outcome = 2 if GB66_district_name == "EDMONTON"
replace GB66_district_outcome = 2 if GB66_district_name == "ENFIELD,EAST"
replace GB66_district_outcome = 1 if GB66_district_name == "ENFIELD,WEST"
replace GB66_district_outcome = 2 if GB66_district_name == "EPPING"
replace GB66_district_outcome = 1 if GB66_district_name == "EPSOM"
replace GB66_district_outcome = 2 if GB66_district_name == "ERITH AND CRAYFORD"
replace GB66_district_outcome = 1 if GB66_district_name == "ESHER"
replace GB66_district_outcome = 1 if GB66_district_name == "SOUTH EAST ESSEX"
replace GB66_district_outcome = 2 if GB66_district_name == "ETON AND SLOUGH"
replace GB66_district_outcome = 2 if GB66_district_name == "EXETER"
replace GB66_district_outcome = 1 if GB66_district_name == "EYE"
replace GB66_district_outcome = 2 if GB66_district_name == "FALMOUTH AND CAMBORNE"
replace GB66_district_outcome = 1 if GB66_district_name == "FARNHAM"
replace GB66_district_outcome = 2 if GB66_district_name == "FARNWORTH"
replace GB66_district_outcome = 2 if GB66_district_name == "FAVERSHAM"
replace GB66_district_outcome = 2 if GB66_district_name == "FELTHAM"
replace GB66_district_outcome = 1 if GB66_district_name == "FERMANAGH AND SOUTH TYRONE"
replace GB66_district_outcome = 1 if GB66_district_name == "EAST FIFE"
replace GB66_district_outcome = 2 if GB66_district_name == "WEST FIFE"
replace GB66_district_outcome = 1 if GB66_district_name == "FINCHLEY"
replace GB66_district_outcome = 2 if GB66_district_name == "EAST FLINTSHIRE"
replace GB66_district_outcome = 1 if GB66_district_name == "WEST FLINTSHIRE"
replace GB66_district_outcome = 1 if GB66_district_name == "FOLKESTONE AND HYTHE"
replace GB66_district_outcome = 2 if GB66_district_name == "FULHAM"
replace GB66_district_outcome = 1 if GB66_district_name == "GAINSBOROUGH"
replace GB66_district_outcome = 1 if GB66_district_name == "GALLOWAY"
replace GB66_district_outcome = 2 if GB66_district_name == "GATESHEAD EAST"
replace GB66_district_outcome = 2 if GB66_district_name == "GATESHEAD WEST"
replace GB66_district_outcome = 1 if GB66_district_name == "GILLINGHAM"
replace GB66_district_outcome = 2 if GB66_district_name == "GLASGOW BRIDGETON"
replace GB66_district_outcome = 1 if GB66_district_name == "GLASGOW CATHCART"
replace GB66_district_outcome = 2 if GB66_district_name == "GLASGOW CENTRAL"
replace GB66_district_outcome = 2 if GB66_district_name == "GLASGOW CRAIGTON"
replace GB66_district_outcome = 2 if GB66_district_name == "GLASGOW GORBALS"
replace GB66_district_outcome = 2 if GB66_district_name == "GLASGOW GOVAN"
replace GB66_district_outcome = 1 if GB66_district_name == "GLASGOW HILLHEAD"
replace GB66_district_outcome = 2 if GB66_district_name == "GLASGOW KELVINGROVE"
replace GB66_district_outcome = 2 if GB66_district_name == "GLASGOW MARYHILL"
replace GB66_district_outcome = 2 if GB66_district_name == "GLASGOW POLLOK"
replace GB66_district_outcome = 2 if GB66_district_name == "GLASGOW PROVAN"
replace GB66_district_outcome = 2 if GB66_district_name == "GLASGOW SCOTSTOUN"
replace GB66_district_outcome = 2 if GB66_district_name == "GLASGOW SHETTLESTON"
replace GB66_district_outcome = 2 if GB66_district_name == "GLASGOW SPRINGBURN"
replace GB66_district_outcome = 2 if GB66_district_name == "GLASGOW WOODSIDE"
replace GB66_district_outcome = 2 if GB66_district_name == "GLOUCESTER"
replace GB66_district_outcome = 1 if GB66_district_name == "SOUTH GLOUCESTERSHIRE"
replace GB66_district_outcome = 2 if GB66_district_name == "WEST GLOUCESTERSHIRE"
replace GB66_district_outcome = 2 if GB66_district_name == "GOOLE"
replace GB66_district_outcome = 1 if GB66_district_name == "GOSPORT AND FAREHAM"
replace GB66_district_outcome = 2 if GB66_district_name == "GOWER"
replace GB66_district_outcome = 1 if GB66_district_name == "GRANTHAM"
replace GB66_district_outcome = 2 if GB66_district_name == "GRAVESEND"
replace GB66_district_outcome = 2 if GB66_district_name == "GREENOCK"
replace GB66_district_outcome = 2 if GB66_district_name == "GREENWICH"
replace GB66_district_outcome = 2 if GB66_district_name == "GRIMSBY"
replace GB66_district_outcome = 1 if GB66_district_name == "GUILDFORD"
replace GB66_district_outcome = 2 if GB66_district_name == "HACKNEY CENTRAL"
replace GB66_district_outcome = 2 if GB66_district_name == "HALIFAX"
replace GB66_district_outcome = 1 if GB66_district_name == "HALTEMPRICE"
replace GB66_district_outcome = 2 if GB66_district_name == "HAMILTON"
replace GB66_district_outcome = 2 if GB66_district_name == "HAMMERSMITH NORTH"
replace GB66_district_outcome = 2 if GB66_district_name == "HAMPSTEAD"
replace GB66_district_outcome = 1 if GB66_district_name == "HARBOROUGH"
replace GB66_district_outcome = 1 if GB66_district_name == "HARROGATE"
replace GB66_district_outcome = 1 if GB66_district_name == "HARROW,CENTRAL"
replace GB66_district_outcome = 2 if GB66_district_name == "HARROW,EAST"
replace GB66_district_outcome = 1 if GB66_district_name == "HARROW,WEST"
replace GB66_district_outcome = 2 if GB66_district_name == "THE HARTLEPOOLS"
replace GB66_district_outcome = 1 if GB66_district_name == "HARWICH"
replace GB66_district_outcome = 1 if GB66_district_name == "HASTINGS"
replace GB66_district_outcome = 2 if GB66_district_name == "HAYES AND HARLINGTON"
replace GB66_district_outcome = 1 if GB66_district_name == "HEMEL HEMPSTEAD"
replace GB66_district_outcome = 2 if GB66_district_name == "HEMSWORTH"
replace GB66_district_outcome = 1 if GB66_district_name == "HENDON,NORTH"
replace GB66_district_outcome = 1 if GB66_district_name == "HENDON,SOUTH"
replace GB66_district_outcome = 1 if GB66_district_name == "HENLEY"
replace GB66_district_outcome = 1 if GB66_district_name == "HEREFORD"
replace GB66_district_outcome = 1 if GB66_district_name == "HERTFORD"
replace GB66_district_outcome = 1 if GB66_district_name == "EAST HERTFORDSHIRE"
replace GB66_district_outcome = 1 if GB66_district_name == "SOUTH WEST HERTFORDSHIRE"
replace GB66_district_outcome = 1 if GB66_district_name == "HESTON AND ISLEWORTH"
replace GB66_district_outcome = 1 if GB66_district_name == "HEXHAM"
replace GB66_district_outcome = 2 if GB66_district_name == "HEYWOOD AND ROYTON"
replace GB66_district_outcome = 2 if GB66_district_name == "HIGH PEAK"
replace GB66_district_outcome = 2 if GB66_district_name == "HITCHIN"
replace GB66_district_outcome = 2 if GB66_district_name == "HOLBORN AND ST.PANCRAS"
replace GB66_district_outcome = 1 if GB66_district_name == "HOLLAND WITH BOSTON"
replace GB66_district_outcome = 1 if GB66_district_name == "HONITON"
replace GB66_district_outcome = 1 if GB66_district_name == "HORNCASTLE"
replace GB66_district_outcome = 2 if GB66_district_name == "HORNCHURCH"
replace GB66_district_outcome = 1 if GB66_district_name == "HORNSEY"
replace GB66_district_outcome = 1 if GB66_district_name == "HORSHAM"
replace GB66_district_outcome = 2 if GB66_district_name == "HOUGHTON-LE-SPRING"
replace GB66_district_outcome = 1 if GB66_district_name == "HOVE"
replace GB66_district_outcome = 1 if GB66_district_name == "HOWDEN"
replace GB66_district_outcome = 2 if GB66_district_name == "HUDDERSFIELD,EAST"
replace GB66_district_outcome = 2 if GB66_district_name == "HUDDERSFIELD,WEST"
replace GB66_district_outcome = 1 if GB66_district_name == "HUNTINGDONSHIRE"
replace GB66_district_outcome = 2 if GB66_district_name == "HUYTON"
replace GB66_district_outcome = 1 if GB66_district_name == "ILFORD,NORTH"
replace GB66_district_outcome = 2 if GB66_district_name == "ILFORD,SOUTH"
replace GB66_district_outcome = 2 if GB66_district_name == "ILKESTON"
replace GB66_district_outcome = 2 if GB66_district_name == "INCE"
replace GB66_district_outcome = 3 if GB66_district_name == "INVERNESS"
replace GB66_district_outcome = 2 if GB66_district_name == "IPSWICH"
replace GB66_district_outcome = 1 if GB66_district_name == "THE ISLE OF ELY"
replace GB66_district_outcome = 1 if GB66_district_name == "ISLE OF THANET"
replace GB66_district_outcome = 1 if GB66_district_name == "ISLE OF WIGHT"
replace GB66_district_outcome = 2 if GB66_district_name == "ISLINGTON,EAST"
replace GB66_district_outcome = 2 if GB66_district_name == "ISLINGTON,NORTH"
replace GB66_district_outcome = 2 if GB66_district_name == "ISLINGTON,SOUTH WEST"
replace GB66_district_outcome = 2 if GB66_district_name == "JARROW"
replace GB66_district_outcome = 2 if GB66_district_name == "KEIGHLEY"
replace GB66_district_outcome = 2 if GB66_district_name == "KENSINGTON,NORTH"
replace GB66_district_outcome = 1 if GB66_district_name == "KENSINGTON,SOUTH"
replace GB66_district_outcome = 2 if GB66_district_name == "KETTERING"
replace GB66_district_outcome = 1 if GB66_district_name == "KIDDERMINSTER"
replace GB66_district_outcome = 2 if GB66_district_name == "KILMARNOCK"
replace GB66_district_outcome = 2 if GB66_district_name == "KING'S LYNN"
replace GB66_district_outcome = 2 if GB66_district_name == "KINGSTON-UPON-HULL EAST"
replace GB66_district_outcome = 2 if GB66_district_name == "KINGSTON-UPON-HULL NORTH"
replace GB66_district_outcome = 2 if GB66_district_name == "KINGSTON-UPON-HULL WEST"
replace GB66_district_outcome = 1 if GB66_district_name == "KINGSTON UPON THAMES"
replace GB66_district_outcome = 1 if GB66_district_name == "KINROSS AND WEST PERTHSHIRE"
replace GB66_district_outcome = 2 if GB66_district_name == "KIRKCALDY BURGHS"
replace GB66_district_outcome = 1 if GB66_district_name == "KNUTSFORD"
replace GB66_district_outcome = 2 if GB66_district_name == "LAMBETH,BRIXTON"
replace GB66_district_outcome = 2 if GB66_district_name == "LAMBETH,NORWOOD"
replace GB66_district_outcome = 2 if GB66_district_name == "LAMBETH,VAUXHALL"
replace GB66_district_outcome = 2 if GB66_district_name == "LANARK"
replace GB66_district_outcome = 2 if GB66_district_name == "NORTH LANARKSHIRE"
replace GB66_district_outcome = 2 if GB66_district_name == "LANCASTER"
replace GB66_district_outcome = 2 if GB66_district_name == "LEEDS,EAST"
replace GB66_district_outcome = 1 if GB66_district_name == "LEEDS,NORTH EAST"
replace GB66_district_outcome = 1 if GB66_district_name == "LEEDS,NORTH WEST"
replace GB66_district_outcome = 2 if GB66_district_name == "LEEDS,SOUTH"
replace GB66_district_outcome = 2 if GB66_district_name == "LEEDS,SOUTH EAST"
replace GB66_district_outcome = 2 if GB66_district_name == "LEEDS,WEST"
replace GB66_district_outcome = 2 if GB66_district_name == "LEEK"
replace GB66_district_outcome = 2 if GB66_district_name == "LEICESTER,NORTH EAST"
replace GB66_district_outcome = 2 if GB66_district_name == "LEICESTER,NORTH WEST"
replace GB66_district_outcome = 1 if GB66_district_name == "LEICESTER,SOUTH EAST"
replace GB66_district_outcome = 2 if GB66_district_name == "LEICESTER,SOUTH WEST"
replace GB66_district_outcome = 2 if GB66_district_name == "LEIGH"
replace GB66_district_outcome = 1 if GB66_district_name == "LEOMINSTER"
replace GB66_district_outcome = 1 if GB66_district_name == "LEWES"
replace GB66_district_outcome = 2 if GB66_district_name == "LEWISHAM,NORTH"
replace GB66_district_outcome = 2 if GB66_district_name == "LEWISHAM,SOUTH"
replace GB66_district_outcome = 2 if GB66_district_name == "LEWISHAM,WEST"
replace GB66_district_outcome = 2 if GB66_district_name == "LEYTON"
replace GB66_district_outcome = 2 if GB66_district_name == "LICHFIELD AND TAMWORTH"
replace GB66_district_outcome = 2 if GB66_district_name == "LINCOLN"
replace GB66_district_outcome = 2 if GB66_district_name == "LIVERPOOL,EDGE HILL"
replace GB66_district_outcome = 2 if GB66_district_name == "LIVERPOOL,EXCHANGE"
replace GB66_district_outcome = 1 if GB66_district_name == "LIVERPOOL,GARSTON"
replace GB66_district_outcome = 2 if GB66_district_name == "LIVERPOOL,KIRKDALE"
replace GB66_district_outcome = 2 if GB66_district_name == "LIVERPOOL,SCOTLAND"
replace GB66_district_outcome = 2 if GB66_district_name == "LIVERPOOL,TOXTETH"
replace GB66_district_outcome = 2 if GB66_district_name == "LIVERPOOL,WALTON"
replace GB66_district_outcome = 1 if GB66_district_name == "LIVERPOOL,WAVERTREE"
replace GB66_district_outcome = 2 if GB66_district_name == "LIVERPOOL,WEST DERBY"
replace GB66_district_outcome = 2 if GB66_district_name == "LLANELLI"
replace GB66_district_outcome = 1 if GB66_district_name == "CITIES OF LONDON AND WESTMINSTER"
replace GB66_district_outcome = 1 if GB66_district_name == "LONDONDERRY COUNTY"
replace GB66_district_outcome = 2 if GB66_district_name == "LOUGHBOROUGH"
replace GB66_district_outcome = 1 if GB66_district_name == "LOUTH"
replace GB66_district_outcome = 1 if GB66_district_name == "LOWESTOFT"
replace GB66_district_outcome = 1 if GB66_district_name == "LUDLOW"
replace GB66_district_outcome = 2 if GB66_district_name == "LUTON"
replace GB66_district_outcome = 1 if GB66_district_name == "MACCLESFIELD"
replace GB66_district_outcome = 1 if GB66_district_name == "MAIDSTONE"
replace GB66_district_outcome = 1 if GB66_district_name == "MALDON"
replace GB66_district_outcome = 2 if GB66_district_name == "MANCHESTER,ARDWICK"
replace GB66_district_outcome = 2 if GB66_district_name == "MANCHESTER,BLACKLEY"
replace GB66_district_outcome = 2 if GB66_district_name == "MANCHESTER,CHEETHAM"
replace GB66_district_outcome = 2 if GB66_district_name == "MANCHESTER,EXCHANGE"
replace GB66_district_outcome = 2 if GB66_district_name == "MANCHESTER,GORTON"
replace GB66_district_outcome = 1 if GB66_district_name == "MANCHESTER,MOSS SIDE"
replace GB66_district_outcome = 2 if GB66_district_name == "MANCHESTER,OPENSHAW"
replace GB66_district_outcome = 1 if GB66_district_name == "MANCHESTER,WITHINGTON"
replace GB66_district_outcome = 2 if GB66_district_name == "MANCHESTER,WYTHENSHAWE"
replace GB66_district_outcome = 2 if GB66_district_name == "MANSFIELD"
replace GB66_district_outcome = 1 if GB66_district_name == "MELTON"
replace GB66_district_outcome = 2 if GB66_district_name == "MERIDEN"
replace GB66_district_outcome = 2 if GB66_district_name == "MERIONETH"
replace GB66_district_outcome = 2 if GB66_district_name == "MERTHYR TYDFIL"
replace GB66_district_outcome = 1 if GB66_district_name == "MERTON AND MORDEN"
replace GB66_district_outcome = 2 if GB66_district_name == "MIDDLESBROUGH,EAST"
replace GB66_district_outcome = 2 if GB66_district_name == "MIDDLESBROUGH,WEST"
replace GB66_district_outcome = 2 if GB66_district_name == "MIDDLETON AND PRESTWICK"
replace GB66_district_outcome = 2 if GB66_district_name == "MIDLOTHIAN"
replace GB66_district_outcome = 1 if GB66_district_name == "MITCHAM"
replace GB66_district_outcome = 2 if GB66_district_name == "MONMOUTH"
replace GB66_district_outcome = 3 if GB66_district_name == "MONTGOMERY"
replace GB66_district_outcome = 1 if GB66_district_name == "MORAY AND NAIRN"
replace GB66_district_outcome = 1 if GB66_district_name == "MORECAMBE AND LONSDALE"
replace GB66_district_outcome = 2 if GB66_district_name == "MORPETH"
replace GB66_district_outcome = 2 if GB66_district_name == "MOTHERWELL"
replace GB66_district_outcome = 1 if GB66_district_name == "NANTWICH"
replace GB66_district_outcome = 2 if GB66_district_name == "NEATH"
replace GB66_district_outcome = 2 if GB66_district_name == "NELSON AND COLNE"
replace GB66_district_outcome = 2 if GB66_district_name == "NEWARK"
replace GB66_district_outcome = 1 if GB66_district_name == "NEWBURY"
replace GB66_district_outcome = 2 if GB66_district_name == "NEWCASTLE UNDER LYME"
replace GB66_district_outcome = 2 if GB66_district_name == "NEWCASTLE-UPON-TYNE CENTRAL"
replace GB66_district_outcome = 2 if GB66_district_name == "NEWCASTLE-UPON-TYNE EAST"
replace GB66_district_outcome = 1 if GB66_district_name == "NEWCASTLE-UPON-TYNE NORTH"
replace GB66_district_outcome = 2 if GB66_district_name == "NEWCASTLE-UPONTYNE WEST"
replace GB66_district_outcome = 1 if GB66_district_name == "NEW FOREST"
replace GB66_district_outcome = 2 if GB66_district_name == "NEWPORT"
replace GB66_district_outcome = 2 if GB66_district_name == "NEWTON"
replace GB66_district_outcome = 1 if GB66_district_name == "CENTRAL NORFOLK"
replace GB66_district_outcome = 2 if GB66_district_name == "NORTH NORFOLK"
replace GB66_district_outcome = 1 if GB66_district_name == "SOUTH NORFOLK"
replace GB66_district_outcome = 1 if GB66_district_name == "SOUTH WEST NORFOLK"
replace GB66_district_outcome = 2 if GB66_district_name == "NORMANTON"
replace GB66_district_outcome = 2 if GB66_district_name == "NORTHAMPTON"
replace GB66_district_outcome = 1 if GB66_district_name == "SOUTH NORTHAMPTONSHIRE"
replace GB66_district_outcome = 1 if GB66_district_name == "NORTH FYLDE"
replace GB66_district_outcome = 1 if GB66_district_name == "NORTHWICH"
replace GB66_district_outcome = 2 if GB66_district_name == "NORWICH,NORTH"
replace GB66_district_outcome = 2 if GB66_district_name == "NORWICH,SOUTH"
replace GB66_district_outcome = 2 if GB66_district_name == "NOTTINGHAM,CENTRAL"
replace GB66_district_outcome = 2 if GB66_district_name == "NOTTINGHAM,NORTH"
replace GB66_district_outcome = 2 if GB66_district_name == "NOTTINGHAM,SOUTH"
replace GB66_district_outcome = 2 if GB66_district_name == "NOTTINGHAM,WEST"
replace GB66_district_outcome = 2 if GB66_district_name == "NUNEATON"
replace GB66_district_outcome = 2 if GB66_district_name == "OGMORE"
replace GB66_district_outcome = 2 if GB66_district_name == "OLDBURY AND HALESOWEN"
replace GB66_district_outcome = 2 if GB66_district_name == "OLDHAM,EAST"
replace GB66_district_outcome = 2 if GB66_district_name == "OLDHAM,WEST"
replace GB66_district_outcome = 3 if GB66_district_name == "ORKNEY AND ZETLAND"
replace GB66_district_outcome = 1 if GB66_district_name == "ORMSKIRK"
replace GB66_district_outcome = 3 if GB66_district_name == "ORPINGTON"
replace GB66_district_outcome = 1 if GB66_district_name == "OSWESTRY"
replace GB66_district_outcome = 2 if GB66_district_name == "OXFORD"
replace GB66_district_outcome = 2 if GB66_district_name == "PADDINGTON,NORTH"
replace GB66_district_outcome = 1 if GB66_district_name == "PADDINGTON,SOUTH"
replace GB66_district_outcome = 2 if GB66_district_name == "PAISLEY"
replace GB66_district_outcome = 2 if GB66_district_name == "PEMBROKE"
replace GB66_district_outcome = 2 if GB66_district_name == "PENISTONE"
replace GB66_district_outcome = 1 if GB66_district_name == "PENRITH AND THE BORDERS"
replace GB66_district_outcome = 1 if GB66_district_name == "PERTH AND EAST PERTHSHIRE"
replace GB66_district_outcome = 1 if GB66_district_name == "PETERBOROUGH"
replace GB66_district_outcome = 1 if GB66_district_name == "PETERSFIELD"
replace GB66_district_outcome = 1 if GB66_district_name == "PLYMOUTH,DEVONPORT"
replace GB66_district_outcome = 2 if GB66_district_name == "PLYMOUTH,SUTTON"
replace GB66_district_outcome = 2 if GB66_district_name == "PONTEFRACT"
replace GB66_district_outcome = 2 if GB66_district_name == "PONTYPOOL"
replace GB66_district_outcome = 2 if GB66_district_name == "PONTYPRIDD"
replace GB66_district_outcome = 1 if GB66_district_name == "POOLE"
replace GB66_district_outcome = 2 if GB66_district_name == "POPLAR"
replace GB66_district_outcome = 1 if GB66_district_name == "PORTSMOUTH,LANGSTON"
replace GB66_district_outcome = 1 if GB66_district_name == "PORTSMOUTH,SOUTH"
replace GB66_district_outcome = 2 if GB66_district_name == "PORTSMOUTH,WEST"
replace GB66_district_outcome = 2 if GB66_district_name == "PRESTON,NORTH"
replace GB66_district_outcome = 2 if GB66_district_name == "PRESTON,SOUTH"
replace GB66_district_outcome = 1 if GB66_district_name == "PUDSEY"
replace GB66_district_outcome = 2 if GB66_district_name == "READING"
replace GB66_district_outcome = 1 if GB66_district_name == "REIGATE"
replace GB66_district_outcome = 1 if GB66_district_name == "EAST RENFREWSHIRE"
replace GB66_district_outcome = 2 if GB66_district_name == "WEST RENFREWSHIRE"
replace GB66_district_outcome = 2 if GB66_district_name == "RHONDDA,EAST"
replace GB66_district_outcome = 2 if GB66_district_name == "RHONDDA,WEST"
replace GB66_district_outcome = 1 if GB66_district_name == "RICHMOND (SURREY)"
replace GB66_district_outcome = 1 if GB66_district_name == "RICHMOND (YORKSHIRE)"
replace GB66_district_outcome = 1 if GB66_district_name == "RIPON"
replace GB66_district_outcome = 2 if GB66_district_name == "ROCHDALE"
replace GB66_district_outcome = 2 if GB66_district_name == "ROCHESTER AND CHATHAM"
replace GB66_district_outcome = 2 if GB66_district_name == "ROMFORD"
replace GB66_district_outcome = 3 if GB66_district_name == "ROSS AND CROMARTY"
replace GB66_district_outcome = 2 if GB66_district_name == "ROSSENDALE"
replace GB66_district_outcome = 2 if GB66_district_name == "ROTHERHAM"
replace GB66_district_outcome = 2 if GB66_district_name == "ROTHER VALLEY"
replace GB66_district_outcome = 2 if GB66_district_name == "ROWLEY REGIS AND TIPTON"
replace GB66_district_outcome = 3 if GB66_district_name == "ROXBURGH, SELKIRK AND PEEBLES"
replace GB66_district_outcome = 2 if GB66_district_name == "RUGBY"
replace GB66_district_outcome = 1 if GB66_district_name == "RUISLIP-NORTHWOOD"
replace GB66_district_outcome = 1 if GB66_district_name == "RUNCORN"
replace GB66_district_outcome = 2 if GB66_district_name == "RUSHCLIFFE"
replace GB66_district_outcome = 2 if GB66_district_name == "RUTHERGLEN"
replace GB66_district_outcome = 1 if GB66_district_name == "RUTLAND AND STAMFORD"
replace GB66_district_outcome = 1 if GB66_district_name == "RYE"
replace GB66_district_outcome = 1 if GB66_district_name == "SAFFRON WALDON"
replace GB66_district_outcome = 1 if GB66_district_name == "ST.ALBANS"
replace GB66_district_outcome = 2 if GB66_district_name == "ST.HELENS"
replace GB66_district_outcome = 1 if GB66_district_name == "ST.IVES"
replace GB66_district_outcome = 1 if GB66_district_name == "ST.MARYLEBONE"
replace GB66_district_outcome = 2 if GB66_district_name == "ST.PANCRAS NORTH"
replace GB66_district_outcome = 2 if GB66_district_name == "SALFORD,EAST"
replace GB66_district_outcome = 2 if GB66_district_name == "SALFORD,WEST"
replace GB66_district_outcome = 1 if GB66_district_name == "SALISBURY"
replace GB66_district_outcome = 1 if GB66_district_name == "SCARBOROUGH AND WHITBY"
replace GB66_district_outcome = 2 if GB66_district_name == "SEDGEFIELD"
replace GB66_district_outcome = 1 if GB66_district_name == "SEVENOAKS"
replace GB66_district_outcome = 2 if GB66_district_name == "SHEFFIELD,ATTERCLIFFE"
replace GB66_district_outcome = 2 if GB66_district_name == "SHEFFIELD,BRIGHTSIDE"
replace GB66_district_outcome = 1 if GB66_district_name == "SHEFFIELD,HALLAM"
replace GB66_district_outcome = 2 if GB66_district_name == "SHEFFIELD,HEELEY"
replace GB66_district_outcome = 2 if GB66_district_name == "SHEFFIELD,HILLSBOROUGH"
replace GB66_district_outcome = 2 if GB66_district_name == "SHEFFIELD,PARK"
replace GB66_district_outcome = 1 if GB66_district_name == "SHIPLEY"
replace GB66_district_outcome = 2 if GB66_district_name == "SHOREDITCH AND FINSBURY"
replace GB66_district_outcome = 1 if GB66_district_name == "SHREWSBURY"
replace GB66_district_outcome = 1 if GB66_district_name == "SKIPTON"
replace GB66_district_outcome = 2 if GB66_district_name == "SMETHWICK"
replace GB66_district_outcome = 1 if GB66_district_name == "SOLIHULL"
replace GB66_district_outcome = 1 if GB66_district_name == "NORTH SOMERSET"
replace GB66_district_outcome = 2 if GB66_district_name == "SOUTHALL"
replace GB66_district_outcome = 2 if GB66_district_name == "SOUTHAMPTON,ITCHEN"
replace GB66_district_outcome = 2 if GB66_district_name == "SOUTHAMPTON,TEST"
replace GB66_district_outcome = 1 if GB66_district_name == "SOUTHEND EAST"
replace GB66_district_outcome = 1 if GB66_district_name == "SOUTHEND WEST"
replace GB66_district_outcome = 1 if GB66_district_name == "SOUTH FYLDE"
replace GB66_district_outcome = 1 if GB66_district_name == "SOUTHGATE"
replace GB66_district_outcome = 1 if GB66_district_name == "SOUTHPORT"
replace GB66_district_outcome = 2 if GB66_district_name == "SOUTH SHIELDS"
replace GB66_district_outcome = 2 if GB66_district_name == "SOUTHWARK"
replace GB66_district_outcome = 2 if GB66_district_name == "SOWERBY"
replace GB66_district_outcome = 1 if GB66_district_name == "SPELTHORNE"
replace GB66_district_outcome = 1 if GB66_district_name == "STAFFORD AND STONE"
replace GB66_district_outcome = 2 if GB66_district_name == "STALYBRIDGE AND HYDE"
replace GB66_district_outcome = 2 if GB66_district_name == "STEPNEY"
replace GB66_district_outcome = 2 if GB66_district_name == "STIRLING AND FALKIRK"
replace GB66_district_outcome = 2 if GB66_district_name == "CLACKMANNAN AND EAST STIRLINGSHIRE"
replace GB66_district_outcome = 2 if GB66_district_name == "WEST STIRLINGSHIRE"
replace GB66_district_outcome = 2 if GB66_district_name == "STOCKPORT NORTH"
replace GB66_district_outcome = 2 if GB66_district_name == "STOCKPORT SOUTH"
replace GB66_district_outcome = 2 if GB66_district_name == "STOCKTON-ON-TEES"
replace GB66_district_outcome = 2 if GB66_district_name == "STOKE NEWINGTON AND HACKNEY NORTH"
replace GB66_district_outcome = 2 if GB66_district_name == "STOKE ON TRENT,CENTRAL"
replace GB66_district_outcome = 2 if GB66_district_name == "STOKE ON TRENT,NORTH"
replace GB66_district_outcome = 2 if GB66_district_name == "STOKE ON TRENT,SOUTH"
replace GB66_district_outcome = 1 if GB66_district_name == "STRATFORD"
replace GB66_district_outcome = 2 if GB66_district_name == "STRETFORD"
replace GB66_district_outcome = 1 if GB66_district_name == "STROUD"
replace GB66_district_outcome = 1 if GB66_district_name == "SUDBURY AND WOODBRIDGE"
replace GB66_district_outcome = 2 if GB66_district_name == "SUNDERLAND NORTH"
replace GB66_district_outcome = 2 if GB66_district_name == "SUNDERLAND SOUTH"
replace GB66_district_outcome = 1 if GB66_district_name == "SURBITON"
replace GB66_district_outcome = 1 if GB66_district_name == "EAST SURREY"
replace GB66_district_outcome = 1 if GB66_district_name == "SUTTON AND CHEAM"
replace GB66_district_outcome = 1 if GB66_district_name == "SUTTON COLDFIELD"
replace GB66_district_outcome = 2 if GB66_district_name == "SWANSEA,EAST"
replace GB66_district_outcome = 2 if GB66_district_name == "SWANSEA,WEST"
replace GB66_district_outcome = 2 if GB66_district_name == "SWINDON"
replace GB66_district_outcome = 1 if GB66_district_name == "TAUNTON"
replace GB66_district_outcome = 1 if GB66_district_name == "TAVISTOCK"
replace GB66_district_outcome = 1 if GB66_district_name == "THIRSK AND MALTON"
replace GB66_district_outcome = 2 if GB66_district_name == "THURROCK"
replace GB66_district_outcome = 1 if GB66_district_name == "TIVERTON"
replace GB66_district_outcome = 1 if GB66_district_name == "TONBRIDGE"
replace GB66_district_outcome = 1 if GB66_district_name == "TORQUAY"
replace GB66_district_outcome = 1 if GB66_district_name == "TORRINGTON"
replace GB66_district_outcome = 1 if GB66_district_name == "TOTNES"
replace GB66_district_outcome = 2 if GB66_district_name == "TOTTENHAM"
replace GB66_district_outcome = 1 if GB66_district_name == "TRURO"
replace GB66_district_outcome = 1 if GB66_district_name == "TWICKENHAM"
replace GB66_district_outcome = 1 if GB66_district_name == "TYNEMOUTH"
replace GB66_district_outcome = 1 if GB66_district_name == "ULSTER MID"
replace GB66_district_outcome = 2 if GB66_district_name == "UXBRIDGE"
replace GB66_district_outcome = 2 if GB66_district_name == "WAKEFIELD"
replace GB66_district_outcome = 1 if GB66_district_name == "WALLASEY"
replace GB66_district_outcome = 2 if GB66_district_name == "WALLSEND"
replace GB66_district_outcome = 2 if GB66_district_name == "WALSALL,NORTH"
replace GB66_district_outcome = 1 if GB66_district_name == "WALSALL,SOUTH"
replace GB66_district_outcome = 2 if GB66_district_name == "WALTHAMSTOW,EAST"
replace GB66_district_outcome = 2 if GB66_district_name == "WALTHAMSTOW,WEST"
replace GB66_district_outcome = 2 if GB66_district_name == "WANDSWORTH,CENTRAL"
replace GB66_district_outcome = 2 if GB66_district_name == "WANDSWORTH,CLAPHAM"
replace GB66_district_outcome = 2 if GB66_district_name == "WANDSWORTH,PUTNEY"
replace GB66_district_outcome = 1 if GB66_district_name == "WANDSWORTH,STREATHAM"
replace GB66_district_outcome = 1 if GB66_district_name == "WANSTEAD AND WOODFORD"
replace GB66_district_outcome = 2 if GB66_district_name == "WARRINGTON"
replace GB66_district_outcome = 1 if GB66_district_name == "WARWICK AND LEAMINGTON"
replace GB66_district_outcome = 2 if GB66_district_name == "WATFORD"
replace GB66_district_outcome = 2 if GB66_district_name == "WEDNESBURY"
replace GB66_district_outcome = 2 if GB66_district_name == "WELLINGBOROUGH"
replace GB66_district_outcome = 1 if GB66_district_name == "WELLS"
replace GB66_district_outcome = 1 if GB66_district_name == "WEMBLEY NORTH"
replace GB66_district_outcome = 1 if GB66_district_name == "WEMBLEY SOUTH"
replace GB66_district_outcome = 2 if GB66_district_name == "WEST BROMWICH"
replace GB66_district_outcome = 1 if GB66_district_name == "WESTBURY"
replace GB66_district_outcome = 2 if GB66_district_name == "WESTERN ISLES"
replace GB66_district_outcome = 2 if GB66_district_name == "WEST HAM NORTH"
replace GB66_district_outcome = 2 if GB66_district_name == "WEST HAM SOUTH"
replace GB66_district_outcome = 2 if GB66_district_name == "WESTHOUGHTON"
replace GB66_district_outcome = 2 if GB66_district_name == "WEST LOTHIAN"
replace GB66_district_outcome = 1 if GB66_district_name == "WESTMORLAND"
replace GB66_district_outcome = 1 if GB66_district_name == "WESTON SUPER MARE"
replace GB66_district_outcome = 2 if GB66_district_name == "WHITEHAVEN"
replace GB66_district_outcome = 2 if GB66_district_name == "WIDNES"
replace GB66_district_outcome = 2 if GB66_district_name == "WIGAN"
replace GB66_district_outcome = 2 if GB66_district_name == "WILLESDEN,EAST"
replace GB66_district_outcome = 2 if GB66_district_name == "WILLESDEN,WEST"
replace GB66_district_outcome = 1 if GB66_district_name == "WIMBLEDON"
replace GB66_district_outcome = 1 if GB66_district_name == "WINCHESTER"
replace GB66_district_outcome = 1 if GB66_district_name == "WINDSOR"
replace GB66_district_outcome = 1 if GB66_district_name == "WIRRAL"
replace GB66_district_outcome = 1 if GB66_district_name == "WOKING"
replace GB66_district_outcome = 1 if GB66_district_name == "WOKINGHAM"
replace GB66_district_outcome = 2 if GB66_district_name == "WOLVERHAMPTON NORTH EAST"
replace GB66_district_outcome = 1 if GB66_district_name == "WOLVERHAMPTON SOUTH WEST"
replace GB66_district_outcome = 2 if GB66_district_name == "WOOD GREEN"
replace GB66_district_outcome = 2 if GB66_district_name == "WOOLWICH,EAST"
replace GB66_district_outcome = 2 if GB66_district_name == "WOOLWICH,WEST"
replace GB66_district_outcome = 1 if GB66_district_name == "WORCESTER"
replace GB66_district_outcome = 1 if GB66_district_name == "SOUTH WORCESTERSHIRE"
replace GB66_district_outcome = 2 if GB66_district_name == "WORKINGTON"
replace GB66_district_outcome = 1 if GB66_district_name == "WORTHING"
replace GB66_district_outcome = 2 if GB66_district_name == "THE WREKIN"
replace GB66_district_outcome = 2 if GB66_district_name == "WREXHAM"
replace GB66_district_outcome = 1 if GB66_district_name == "WYCOMBE"
replace GB66_district_outcome = 2 if GB66_district_name == "YARMOUTH"
replace GB66_district_outcome = 1 if GB66_district_name == "YEOVIL"
replace GB66_district_outcome = 2 if GB66_district_name == "YORK"


********************************************
** COMPETITIVENESS: 1966 GENERAL ELECTION **
********************************************

* Margin of victory by district

gen GB66_margin = .

replace GB66_margin = 54.5093 if GB66_district_name == "ABERAVON"
replace GB66_margin = 61.60316 if GB66_district_name == "ABERDARE"
replace GB66_margin = 46.98142 if GB66_district_name == "ABERDEEN NORTH"
replace GB66_margin = 3.556742 if GB66_district_name == "ABERDEEN SOUTH"
replace GB66_margin = 13.85577 if GB66_district_name == "EAST ABERDEENSHIRE"
replace GB66_margin = 3.403104 if GB66_district_name == "WEST ABERDEENSHIRE"
replace GB66_margin = 76.22246 if GB66_district_name == "ABERTILLERY"
replace GB66_margin = 5.512613 if GB66_district_name == "ABINGDON"
replace GB66_margin = 16.96466 if GB66_district_name == "ACCRINGTON"
replace GB66_margin = 15.37289 if GB66_district_name == "ACTON"
replace GB66_margin = 16.95348 if GB66_district_name == "ALDERSHOT"
replace GB66_margin = 13.26903 if GB66_district_name == "ALTRINCHAM AND SALE"
replace GB66_margin = 19.58885 if GB66_district_name == "ANGLESEY"
replace GB66_margin = 20.97876 if GB66_district_name == "NORTH ANGUS AND MEARNS"
replace GB66_margin = 40.8758 if GB66_district_name == "SOUTH ANGUS"
replace GB66_margin = 56.2445 if GB66_district_name == "ANTRIM NORTH"
replace GB66_margin = 28.60562 if GB66_district_name == "ANTRIM SOUTH"
replace GB66_margin = 13.10335 if GB66_district_name == "ARGYLL"
replace GB66_margin = 44.06695 if GB66_district_name == "ARMAGH"
replace GB66_margin = 27.19322 if GB66_district_name == "ARUNDEL AND SHOREHAM"
replace GB66_margin = 47.25521 if GB66_district_name == "ASHFIELD"
replace GB66_margin = 18.98577 if GB66_district_name == "ASHFORD"
replace GB66_margin = 17.40575 if GB66_district_name == "ASHTON UNDER LYNE"
replace GB66_margin = 7.412115 if GB66_district_name == "AYLESBURY"
replace GB66_margin = 1.225565 if GB66_district_name == "AYR"
replace GB66_margin = 15.35324 if GB66_district_name == "CENTRAL AYRSHIRE"
replace GB66_margin = 8.009892 if GB66_district_name == "BUTE AND NORTH AYRSHIRE"
replace GB66_margin = 34.49924 if GB66_district_name == "SOUTH AYRSHIRE"
replace GB66_margin = 7.233686 if GB66_district_name == "BANBURY"
replace GB66_margin = 6.998374 if GB66_district_name == "BANFF"
replace GB66_margin = 44.33384 if GB66_district_name == "BARKING"
replace GB66_margin = 12.67791 if GB66_district_name == "BARKSTON ASH"
replace GB66_margin = 10.40612 if GB66_district_name == "BARNET"
replace GB66_margin = 51.34375 if GB66_district_name == "BARNSLEY"
replace GB66_margin = 10.52919 if GB66_district_name == "BARONS COURT"
replace GB66_margin = 20.62766 if GB66_district_name == "BARROW IN FURNESS"
replace GB66_margin = 2.55686 if GB66_district_name == "BARRY"
replace GB66_margin = 6.433746 if GB66_district_name == "BASINGSTOKE"
replace GB66_margin = 23.26744 if GB66_district_name == "BASSETLAW"
replace GB66_margin = 1.77845 if GB66_district_name == "BATH"
replace GB66_margin = 27.16674 if GB66_district_name == "BATLEY AND MORLEY"
replace GB66_margin = 47.26326 if GB66_district_name == "BATTERSEA,NORTH"
replace GB66_margin = 14.69676 if GB66_district_name == "BATTERSEA,SOUTH"
replace GB66_margin = 3.977669 if GB66_district_name == "BEBINGTON"
replace GB66_margin = 24.77485 if GB66_district_name == "BECKENHAM"
replace GB66_margin = .7680429 if GB66_district_name == "BEDFORD"
replace GB66_margin = 6.040742 if GB66_district_name == "MID-BEDFORDSHIRE"
replace GB66_margin = 5.846417 if GB66_district_name == "SOUTH BEDFORDSHIRE"
replace GB66_margin = 72.49725 if GB66_district_name == "BEDWELLTY"
replace GB66_margin = 9.331415 if GB66_district_name == "BELFAST EAST"
replace GB66_margin = 14.87462 if GB66_district_name == "BELFAST NORTH"
replace GB66_margin = 30.72031 if GB66_district_name == "BELFAST SOUTH"
replace GB66_margin = 3.97643 if GB66_district_name == "BELFAST WEST"
replace GB66_margin = 6.60424 if GB66_district_name == "BELPER"
replace GB66_margin = 61.25273 if GB66_district_name == "BERMONDSEY"
replace GB66_margin = 3.878212 if GB66_district_name == "BERWICK AND EAST LOTHIAN"
replace GB66_margin = 14.58396 if GB66_district_name == "BERWICK UPON TWEED"
replace GB66_margin = 52.69831 if GB66_district_name == "BETHNAL GREEN"
replace GB66_margin = 4.25528 if GB66_district_name == "BEXLEY"
replace GB66_margin = 1.909946 if GB66_district_name == "BILLERICAY"
replace GB66_margin = 13.85879 if GB66_district_name == "BILSTON"
replace GB66_margin = 21.74994 if GB66_district_name == "BIRKENHEAD"
replace GB66_margin = 17.01557 if GB66_district_name == "BIRMINGHAM,ALL SAINTS"
replace GB66_margin = 21.74424 if GB66_district_name == "BIRMINGHAM,ASTON"
replace GB66_margin = 21.50544 if GB66_district_name == "BIRMINGHAM,EDGBASTON"
replace GB66_margin = 7.65503 if GB66_district_name == "BIRMINGHAM,HALL GREEN"
replace GB66_margin = 3.982396 if GB66_district_name == "BIRMINGHAM,HANDSWORTH"
replace GB66_margin = 35.208 if GB66_district_name == "BIRMINGHAM,LADYWOOD"
replace GB66_margin = 18.97368 if GB66_district_name == "BIRMINGHAM,NORTHFIED"
replace GB66_margin = 9.964926 if GB66_district_name == "BIRMINGHAM,PERRY BARR"
replace GB66_margin = 2.121675 if GB66_district_name == "BIRMINGHAM,SELLY OAK"
replace GB66_margin = 40.74857 if GB66_district_name == "BIRMINGHAM,SMALL HEATH"
replace GB66_margin = 21.23183 if GB66_district_name == "BIRMINGHAM,SPARKBROOK"
replace GB66_margin = 30.97618 if GB66_district_name == "BIRMINGHAM,STECHFORD"
replace GB66_margin = 12.69145 if GB66_district_name == "BIRMINGHAM,YARDLEY"
replace GB66_margin = 29.6869 if GB66_district_name == "BISHOP AUCKLAND"
replace GB66_margin = 16.65671 if GB66_district_name == "BLACKBURN"
replace GB66_margin = 13.03547 if GB66_district_name == "BLACKPOOL,NORTH"
replace GB66_margin = 8.552731 if GB66_district_name == "BLACKPOOL,SOUTH"
replace GB66_margin = 38.41156 if GB66_district_name == "BLAYDON"
replace GB66_margin = 56.3807 if GB66_district_name == "BLYTH"
replace GB66_margin = 5.195305 if GB66_district_name == "BODMIN"
replace GB66_margin = 64.06444 if GB66_district_name == "BOLSOVER"
replace GB66_margin = 18.42738 if GB66_district_name == "BOLTON,EAST"
replace GB66_margin = 12.82272 if GB66_district_name == "BOLTON,WEST"
replace GB66_margin = 26.74151 if GB66_district_name == "BOOTLE"
replace GB66_margin = 14.23444 if GB66_district_name == "BOSWORTH"
replace GB66_margin = 24.60682 if GB66_district_name == "BOTHWELL"
replace GB66_margin = 29.88851 if GB66_district_name == "BOURNEMOUTH EAST AND CHRISTCHURCH"
replace GB66_margin = 18.27721 if GB66_district_name == "BOURNEMOUTH WEST"
replace GB66_margin = 38.9957 if GB66_district_name == "BRADFORD,EAST"
replace GB66_margin = 10.69673 if GB66_district_name == "BRADFORD,NORTH"
replace GB66_margin = 17.17211 if GB66_district_name == "BRADFORD,SOUTH"
replace GB66_margin = 4.050272 if GB66_district_name == "BRADFORD,WEST"
replace GB66_margin = 21.03427 if GB66_district_name == "BRECON AND RADNOR"
replace GB66_margin = 1.97514 if GB66_district_name == "BRENTFORD AND CHISWICK"
replace GB66_margin = 6.36416 if GB66_district_name == "BRIDGWATER"
replace GB66_margin = 24.92797 if GB66_district_name == "BRIDLINGTON"
replace GB66_margin = 2.356923 if GB66_district_name == "BRIERLEY HILL"
replace GB66_margin = 20.16046 if GB66_district_name == "BRIGG"
replace GB66_margin = 9.634551 if GB66_district_name == "BRIGHOUSE AND SPENBOROUGH"
replace GB66_margin = 1.694501 if GB66_district_name == "BRIGHTON,KEMPTOWN"
replace GB66_margin = 16.28396 if GB66_district_name == "BRIGHTON,PAVILION"
replace GB66_margin = 22.91914 if GB66_district_name == "BRISTOL,CENTRAL"
replace GB66_margin = 8.375153 if GB66_district_name == "BRISTOL,NORTH EAST"
replace GB66_margin = 1.384634 if GB66_district_name == "BRISTOL,NORTH WEST"
replace GB66_margin = 34.27054 if GB66_district_name == "BRISTOL,SOUTH"
replace GB66_margin = 22.70214 if GB66_district_name == "BRISTOL,SOUTH EAST"
replace GB66_margin = 33.00476 if GB66_district_name == "BRISTOL,WEST"
replace GB66_margin = 25.54657 if GB66_district_name == "BROMLEY"
replace GB66_margin = 6.048704 if GB66_district_name == "BROMSGROVE"
replace GB66_margin = 4.304155 if GB66_district_name == "BUCKINGHAM"
replace GB66_margin = 25.60965 if GB66_district_name == "SOUTH BUCKINGHAMSHIRE"
replace GB66_margin = 32.76725 if GB66_district_name == "BURNLEY"
replace GB66_margin = .5860077 if GB66_district_name == "BURTON"
replace GB66_margin = 8.316438 if GB66_district_name == "BURY AND RADCLIFFE"
replace GB66_margin = 9.115903 if GB66_district_name == "BURY ST.EDMUNDS"
replace GB66_margin = 33.94583 if GB66_district_name == "CAERNARVON"
replace GB66_margin = 59.63735 if GB66_district_name == "CAERPHILLY"
replace GB66_margin = .3016876 if GB66_district_name == "CAITHNESS AND SUTHERLAND"
replace GB66_margin = 13.3673 if GB66_district_name == "CAMBERWELL,DULWICH"
replace GB66_margin = 43.99888 if GB66_district_name == "CAMBERWELL,PECKHAM"
replace GB66_margin = 2.051675 if GB66_district_name == "CAMBRIDGE"
replace GB66_margin = 9.616423 if GB66_district_name == "CAMBRIDGESHIRE"
replace GB66_margin = 19.61576 if GB66_district_name == "CANNOCK"
replace GB66_margin = 21.63174 if GB66_district_name == "CANTERBURY"
replace GB66_margin = 1.440021 if GB66_district_name == "CARDIFF,NORTH"
replace GB66_margin = 20.99461 if GB66_district_name == "CARDIFF,SOUTH EAST"
replace GB66_margin = 21.99379 if GB66_district_name == "CARDIFF,WEST"
replace GB66_margin = 1.717965 if GB66_district_name == "CARDIGAN"
replace GB66_margin = 12.2553 if GB66_district_name == "CARLISLE"
replace GB66_margin = 6.443291 if GB66_district_name == "CARLTON"
replace GB66_margin = 20.0879 if GB66_district_name == "CARMARTHEN"
replace GB66_margin = 11.21129 if GB66_district_name == "CARSHALTON"
replace GB66_margin = .8649034 if GB66_district_name == "CHEADLE"
replace GB66_margin = 8.203614 if GB66_district_name == "CHELMSFORD"
replace GB66_margin = 31.83714 if GB66_district_name == "CHELSEA"
replace GB66_margin = 6.866741 if GB66_district_name == "CHELTENHAM"
replace GB66_margin = 13.61347 if GB66_district_name == "CHERTSEY"
replace GB66_margin = 5.956353 if GB66_district_name == "CITY OF CHESTER"
replace GB66_margin = 35.34133 if GB66_district_name == "CHESTERFIELD"
replace GB66_margin = 53.91945 if GB66_district_name == "CHESTER-LE-STREET"
replace GB66_margin = 32.03661 if GB66_district_name == "CHICHESTER"
replace GB66_margin = 5.803259 if GB66_district_name == "CHIGWELL"
replace GB66_margin = 1.504999 if GB66_district_name == "CHIPPENHAM"
replace GB66_margin = 1.605073 if GB66_district_name == "CHISLEHURST"
replace GB66_margin = 9.508158 if GB66_district_name == "CHORLEY"
replace GB66_margin = 16.32254 if GB66_district_name == "CIRENCESTER AND TEWKESBURY"
replace GB66_margin = 18.57556 if GB66_district_name == "CLEVELAND"
replace GB66_margin = 5.958425 if GB66_district_name == "CLITHEROE"
replace GB66_margin = 28.38519 if GB66_district_name == "COATBRIDGE AND AIRDRIE"
replace GB66_margin = 1.902923 if GB66_district_name == "COLCHESTER"
replace GB66_margin = 5.516678 if GB66_district_name == "COLNE VALLEY"
replace GB66_margin = 46.5268 if GB66_district_name == "CONSETT"
replace GB66_margin = 1.513928 if GB66_district_name == "CONWAY"
replace GB66_margin = 3.962269 if GB66_district_name == "NORTH CORNWALL"
replace GB66_margin = 30.94288 if GB66_district_name == "COVENTRY,EAST"
replace GB66_margin = 18.63408 if GB66_district_name == "COVENTRY,NORTH"
replace GB66_margin = 9.730565 if GB66_district_name == "COVENTRY,SOUTH"
replace GB66_margin = 22.01163 if GB66_district_name == "CREWE"
replace GB66_margin = 8.132041 if GB66_district_name == "CROSBY"
replace GB66_margin = 1.399234 if GB66_district_name == "CROYDON,NORTH EAST"
replace GB66_margin = 6.5875 if GB66_district_name == "CROYDON,NORTH WEST"
replace GB66_margin = .1685499 if GB66_district_name == "CROYDON,SOUTH"
replace GB66_margin = 52.22752 if GB66_district_name == "DAGENHAM"
replace GB66_margin = 9.215139 if GB66_district_name == "DARLINGTON"
replace GB66_margin = 11.65506 if GB66_district_name == "DARTFORD"
replace GB66_margin = 3.555328 if GB66_district_name == "DARWEN"
replace GB66_margin = 67.99183 if GB66_district_name == "DEARNE VALLEY"
replace GB66_margin = 10.55841 if GB66_district_name == "DENBIGH"
replace GB66_margin = 40.47406 if GB66_district_name == "DEPTFORD"
replace GB66_margin = 23.67375 if GB66_district_name == "DERBY NORTH"
replace GB66_margin = 25.70324 if GB66_district_name == "DERBY SOUTH"
replace GB66_margin = 33.88307 if GB66_district_name == "NORTH EAST DERBYSHIRE"
replace GB66_margin = 9.265316 if GB66_district_name == "SOUTH EAST DERBYSHIRE"
replace GB66_margin = 12.39473 if GB66_district_name == "WEST DERBYSHIRE"
replace GB66_margin = 5.411431 if GB66_district_name == "DEVIZES"
replace GB66_margin = 3.024251 if GB66_district_name == "NORTH DEVON"
replace GB66_margin = 24.81562 if GB66_district_name == "DEWSBURY"
replace GB66_margin = 13.39023 if GB66_district_name == "DONCASTER"
replace GB66_margin = 49.79476 if GB66_district_name == "DON VALLEY"
replace GB66_margin = 25.36524 if GB66_district_name == "DORKING"
replace GB66_margin = 12.94145 if GB66_district_name == "NORTH DORSET"
replace GB66_margin = 3.755577 if GB66_district_name == "SOUTH DORSET"
replace GB66_margin = 16.02498 if GB66_district_name == "WEST DORSET"
replace GB66_margin = 5.817971 if GB66_district_name == "DOVER"
replace GB66_margin = 57.06054 if GB66_district_name == "DOWN NORTH"
replace GB66_margin = 45.3298 if GB66_district_name == "DOWN SOUTH"
replace GB66_margin = 18.10202 if GB66_district_name == "DUDLEY"
replace GB66_margin = 9.70731 if GB66_district_name == "DUMFRIES"
replace GB66_margin = 15.78523 if GB66_district_name == "EAST DUNBARTONSHIRE"
replace GB66_margin = 19.11019 if GB66_district_name == "WEST DUNBARTONSHIRE"
replace GB66_margin = 12.6307 if GB66_district_name == "DUNDEE EAST"
replace GB66_margin = 16.81382 if GB66_district_name == "DUNDEE WEST"
replace GB66_margin = 31.76344 if GB66_district_name == "DUNFERMLINE BURGHS"
replace GB66_margin = 41.28074 if GB66_district_name == "DURHAM"
replace GB66_margin = 47.15992 if GB66_district_name == "NORTH WEST DURHAM"
replace GB66_margin = 5.28713 if GB66_district_name == "EALING,NORTH"
replace GB66_margin = 13.52006 if GB66_district_name == "EALING,SOUTH"
replace GB66_margin = 62.73481 if GB66_district_name == "EASINGTON"
replace GB66_margin = 16.50974 if GB66_district_name == "EASTBOURNE"
replace GB66_margin = 31.47137 if GB66_district_name == "EAST GRINSTEAD"
replace GB66_margin = 31.72261 if GB66_district_name == "EAST HAM,NORTH"
replace GB66_margin = 39.8796 if GB66_district_name == "EAST HAM,SOUTH"
replace GB66_margin = 1.30808 if GB66_district_name == "EASTLEIGH"
replace GB66_margin = 70.28134 if GB66_district_name == "EBBW VALE"
replace GB66_margin = 22.01532 if GB66_district_name == "ECCLES"
replace GB66_margin = 17.1956 if GB66_district_name == "EDINBURGH CENTRAL"
replace GB66_margin = 20.95535 if GB66_district_name == "EDINBURGH EAST"
replace GB66_margin = 14.61167 if GB66_district_name == "EDINBURGH LEITH"
replace GB66_margin = 11.0904 if GB66_district_name == "EDINBURGH NORTH"
replace GB66_margin = .1031145 if GB66_district_name == "EDINBURGH PENTLANDS"
replace GB66_margin = 13.61744 if GB66_district_name == "EDINBURGH SOUTH"
replace GB66_margin = 9.333152 if GB66_district_name == "EDINBURGH WEST"
replace GB66_margin = 17.12139 if GB66_district_name == "EDMONTON"
replace GB66_margin = 22.00491 if GB66_district_name == "ENFIELD,EAST"
replace GB66_margin = 26.45397 if GB66_district_name == "ENFIELD,WEST"
replace GB66_margin = 9.328794 if GB66_district_name == "EPPING"
replace GB66_margin = 30.55401 if GB66_district_name == "EPSOM"
replace GB66_margin = 21.09531 if GB66_district_name == "ERITH AND CRAYFORD"
replace GB66_margin = 29.88369 if GB66_district_name == "ESHER"
replace GB66_margin = 8.706876 if GB66_district_name == "SOUTH EAST ESSEX"
replace GB66_margin = 9.625746 if GB66_district_name == "ETON AND SLOUGH"
replace GB66_margin = 7.850091 if GB66_district_name == "EXETER"
replace GB66_margin = 7.665054 if GB66_district_name == "EYE"
replace GB66_margin = 7.14489 if GB66_district_name == "FALMOUTH AND CAMBORNE"
replace GB66_margin = 20.88637 if GB66_district_name == "FARNHAM"
replace GB66_margin = 32.38797 if GB66_district_name == "FARNWORTH"
replace GB66_margin = 4.95215 if GB66_district_name == "FAVERSHAM"
replace GB66_margin = 20.36506 if GB66_district_name == "FELTHAM"
replace GB66_margin = 7.977266 if GB66_district_name == "FERMANAGH AND SOUTH TYRONE"
replace GB66_margin = 26.90298 if GB66_district_name == "EAST FIFE"
replace GB66_margin = 43.76322 if GB66_district_name == "WEST FIFE"
replace GB66_margin = 18.36172 if GB66_district_name == "FINCHLEY"
replace GB66_margin = 17.79988 if GB66_district_name == "EAST FLINTSHIRE"
replace GB66_margin = 7.23631 if GB66_district_name == "WEST FLINTSHIRE"
replace GB66_margin = 19.213 if GB66_district_name == "FOLKESTONE AND HYTHE"
replace GB66_margin = 20.2875 if GB66_district_name == "FULHAM"
replace GB66_margin = 9.728724 if GB66_district_name == "GAINSBOROUGH"
replace GB66_margin = 23.97215 if GB66_district_name == "GALLOWAY"
replace GB66_margin = 39.14182 if GB66_district_name == "GATESHEAD EAST"
replace GB66_margin = 49.53593 if GB66_district_name == "GATESHEAD WEST"
replace GB66_margin = 7.71082 if GB66_district_name == "GILLINGHAM"
replace GB66_margin = 48.53924 if GB66_district_name == "GLASGOW BRIDGETON"
replace GB66_margin = 2.326558 if GB66_district_name == "GLASGOW CATHCART"
replace GB66_margin = 49.68263 if GB66_district_name == "GLASGOW CENTRAL"
replace GB66_margin = 25.16886 if GB66_district_name == "GLASGOW CRAIGTON"
replace GB66_margin = 50.24008 if GB66_district_name == "GLASGOW GORBALS"
replace GB66_margin = 39.74664 if GB66_district_name == "GLASGOW GOVAN"
replace GB66_margin = 25.7683 if GB66_district_name == "GLASGOW HILLHEAD"
replace GB66_margin = 15.63587 if GB66_district_name == "GLASGOW KELVINGROVE"
replace GB66_margin = 47.14947 if GB66_district_name == "GLASGOW MARYHILL"
replace GB66_margin = 4.871852 if GB66_district_name == "GLASGOW POLLOK"
replace GB66_margin = 36.07587 if GB66_district_name == "GLASGOW PROVAN"
replace GB66_margin = 29.01511 if GB66_district_name == "GLASGOW SCOTSTOUN"
replace GB66_margin = 43.35162 if GB66_district_name == "GLASGOW SHETTLESTON"
replace GB66_margin = 48.7535 if GB66_district_name == "GLASGOW SPRINGBURN"
replace GB66_margin = 8.730396 if GB66_district_name == "GLASGOW WOODSIDE"
replace GB66_margin = 12.21478 if GB66_district_name == "GLOUCESTER"
replace GB66_margin = 2.280407 if GB66_district_name == "SOUTH GLOUCESTERSHIRE"
replace GB66_margin = 17.20096 if GB66_district_name == "WEST GLOUCESTERSHIRE"
replace GB66_margin = 29.60183 if GB66_district_name == "GOOLE"
replace GB66_margin = 17.41121 if GB66_district_name == "GOSPORT AND FAREHAM"
replace GB66_margin = 54.3264 if GB66_district_name == "GOWER"
replace GB66_margin = 4.162728 if GB66_district_name == "GRANTHAM"
replace GB66_margin = 7.874844 if GB66_district_name == "GRAVESEND"
replace GB66_margin = 33.86563 if GB66_district_name == "GREENOCK"
replace GB66_margin = 29.71059 if GB66_district_name == "GREENWICH"
replace GB66_margin = 17.87899 if GB66_district_name == "GRIMSBY"
replace GB66_margin = 17.42935 if GB66_district_name == "GUILDFORD"
replace GB66_margin = 41.65974 if GB66_district_name == "HACKNEY CENTRAL"
replace GB66_margin = 11.29483 if GB66_district_name == "HALIFAX"
replace GB66_margin = 26.77977 if GB66_district_name == "HALTEMPRICE"
replace GB66_margin = 42.33539 if GB66_district_name == "HAMILTON"
replace GB66_margin = 37.5806 if GB66_district_name == "HAMMERSMITH NORTH"
replace GB66_margin = 4.591774 if GB66_district_name == "HAMPSTEAD"
replace GB66_margin = 9.942027 if GB66_district_name == "HARBOROUGH"
replace GB66_margin = 32.15476 if GB66_district_name == "HARROGATE"
replace GB66_margin = 4.600621 if GB66_district_name == "HARROW,CENTRAL"
replace GB66_margin = .9662824 if GB66_district_name == "HARROW,EAST"
replace GB66_margin = 24.26083 if GB66_district_name == "HARROW,WEST"
replace GB66_margin = 18.66022 if GB66_district_name == "THE HARTLEPOOLS"
replace GB66_margin = 12.64064 if GB66_district_name == "HARWICH"
replace GB66_margin = 6.14948 if GB66_district_name == "HASTINGS"
replace GB66_margin = 26.50805 if GB66_district_name == "HAYES AND HARLINGTON"
replace GB66_margin = 2.853702 if GB66_district_name == "HEMEL HEMPSTEAD"
replace GB66_margin = 70.7861 if GB66_district_name == "HEMSWORTH"
replace GB66_margin = 1.506062 if GB66_district_name == "HENDON,NORTH"
replace GB66_margin = 10.69395 if GB66_district_name == "HENDON,SOUTH"
replace GB66_margin = 10.84605 if GB66_district_name == "HENLEY"
replace GB66_margin = 6.988577 if GB66_district_name == "HEREFORD"
replace GB66_margin = 1.244319 if GB66_district_name == "HERTFORD"
replace GB66_margin = 8.194425 if GB66_district_name == "EAST HERTFORDSHIRE"
replace GB66_margin = 5.135135 if GB66_district_name == "SOUTH WEST HERTFORDSHIRE"
replace GB66_margin = 2.254303 if GB66_district_name == "HESTON AND ISLEWORTH"
replace GB66_margin = 11.01593 if GB66_district_name == "HEXHAM"
replace GB66_margin = 11.19827 if GB66_district_name == "HEYWOOD AND ROYTON"
replace GB66_margin = 1.982851 if GB66_district_name == "HIGH PEAK"
replace GB66_margin = 13.04941 if GB66_district_name == "HITCHIN"
replace GB66_margin = 18.98193 if GB66_district_name == "HOLBORN AND ST.PANCRAS"
replace GB66_margin = .5956644 if GB66_district_name == "HOLLAND WITH BOSTON"
replace GB66_margin = 27.65863 if GB66_district_name == "HONITON"
replace GB66_margin = 16.61155 if GB66_district_name == "HORNCASTLE"
replace GB66_margin = 4.110926 if GB66_district_name == "HORNCHURCH"
replace GB66_margin = 1.285884 if GB66_district_name == "HORNSEY"
replace GB66_margin = 8.60946 if GB66_district_name == "HORSHAM"
replace GB66_margin = 55.02163 if GB66_district_name == "HOUGHTON-LE-SPRING"
replace GB66_margin = 31.57853 if GB66_district_name == "HOVE"
replace GB66_margin = 23.65241 if GB66_district_name == "HOWDEN"
replace GB66_margin = 27.65098 if GB66_district_name == "HUDDERSFIELD,EAST"
replace GB66_margin = 10.924 if GB66_district_name == "HUDDERSFIELD,WEST"
replace GB66_margin = 12.54319 if GB66_district_name == "HUNTINGDONSHIRE"
replace GB66_margin = 33.84546 if GB66_district_name == "HUYTON"
replace GB66_margin = 6.546465 if GB66_district_name == "ILFORD,NORTH"
replace GB66_margin = 5.818249 if GB66_district_name == "ILFORD,SOUTH"
replace GB66_margin = 40.18885 if GB66_district_name == "ILKESTON"
replace GB66_margin = 47.24934 if GB66_district_name == "INCE"
replace GB66_margin = 6.582202 if GB66_district_name == "INVERNESS"
replace GB66_margin = 11.3188 if GB66_district_name == "IPSWICH"
replace GB66_margin = 3.801803 if GB66_district_name == "THE ISLE OF ELY"
replace GB66_margin = 7.922815 if GB66_district_name == "ISLE OF THANET"
replace GB66_margin = 19.64917 if GB66_district_name == "ISLE OF WIGHT"
replace GB66_margin = 29.0152 if GB66_district_name == "ISLINGTON,EAST"
replace GB66_margin = 28.76189 if GB66_district_name == "ISLINGTON,NORTH"
replace GB66_margin = 41.29128 if GB66_district_name == "ISLINGTON,SOUTH WEST"
replace GB66_margin = 35.25419 if GB66_district_name == "JARROW"
replace GB66_margin = 10.01348 if GB66_district_name == "KEIGHLEY"
replace GB66_margin = 18.00979 if GB66_district_name == "KENSINGTON,NORTH"
replace GB66_margin = 45.24119 if GB66_district_name == "KENSINGTON,SOUTH"
replace GB66_margin = 17.07466 if GB66_district_name == "KETTERING"
replace GB66_margin = 6.706635 if GB66_district_name == "KIDDERMINSTER"
replace GB66_margin = 37.08569 if GB66_district_name == "KILMARNOCK"
replace GB66_margin = 4.523964 if GB66_district_name == "KING'S LYNN"
replace GB66_margin = 43.83229 if GB66_district_name == "KINGSTON-UPON-HULL EAST"
replace GB66_margin = 18.17108 if GB66_district_name == "KINGSTON-UPON-HULL NORTH"
replace GB66_margin = 29.64924 if GB66_district_name == "KINGSTON-UPON-HULL WEST"
replace GB66_margin = 17.70904 if GB66_district_name == "KINGSTON UPON THAMES"
replace GB66_margin = 40.24191 if GB66_district_name == "KINROSS AND WEST PERTHSHIRE"
replace GB66_margin = 32.62201 if GB66_district_name == "KIRKCALDY BURGHS"
replace GB66_margin = 26.59077 if GB66_district_name == "KNUTSFORD"
replace GB66_margin = 22.60632 if GB66_district_name == "LAMBETH,BRIXTON"
replace GB66_margin = 5.800097 if GB66_district_name == "LAMBETH,NORWOOD"
replace GB66_margin = 33.14978 if GB66_district_name == "LAMBETH,VAUXHALL"
replace GB66_margin = 13.44497 if GB66_district_name == "LANARK"
replace GB66_margin = 21.84023 if GB66_district_name == "NORTH LANARKSHIRE"
replace GB66_margin = 5.245474 if GB66_district_name == "LANCASTER"
replace GB66_margin = 23.07598 if GB66_district_name == "LEEDS,EAST"
replace GB66_margin = 13.53371 if GB66_district_name == "LEEDS,NORTH EAST"
replace GB66_margin = 11.29639 if GB66_district_name == "LEEDS,NORTH WEST"
replace GB66_margin = 39.64034 if GB66_district_name == "LEEDS,SOUTH"
replace GB66_margin = 43.62976 if GB66_district_name == "LEEDS,SOUTH EAST"
replace GB66_margin = 24.24774 if GB66_district_name == "LEEDS,WEST"
replace GB66_margin = 12.33726 if GB66_district_name == "LEEK"
replace GB66_margin = 19.81639 if GB66_district_name == "LEICESTER,NORTH EAST"
replace GB66_margin = 21.78475 if GB66_district_name == "LEICESTER,NORTH WEST"
replace GB66_margin = 19.76974 if GB66_district_name == "LEICESTER,SOUTH EAST"
replace GB66_margin = 17.30757 if GB66_district_name == "LEICESTER,SOUTH WEST"
replace GB66_margin = 37.31704 if GB66_district_name == "LEIGH"
replace GB66_margin = 25.31135 if GB66_district_name == "LEOMINSTER"
replace GB66_margin = 25.22074 if GB66_district_name == "LEWES"
replace GB66_margin = 6.163115 if GB66_district_name == "LEWISHAM,NORTH"
replace GB66_margin = 26.66774 if GB66_district_name == "LEWISHAM,SOUTH"
replace GB66_margin = 5.084746 if GB66_district_name == "LEWISHAM,WEST"
replace GB66_margin = 17.55462 if GB66_district_name == "LEYTON"
replace GB66_margin = 7.979463 if GB66_district_name == "LICHFIELD AND TAMWORTH"
replace GB66_margin = 16.55985 if GB66_district_name == "LINCOLN"
replace GB66_margin = 26.12506 if GB66_district_name == "LIVERPOOL,EDGE HILL"
replace GB66_margin = 47.49035 if GB66_district_name == "LIVERPOOL,EXCHANGE"
replace GB66_margin = 8.732568 if GB66_district_name == "LIVERPOOL,GARSTON"
replace GB66_margin = 18.53199 if GB66_district_name == "LIVERPOOL,KIRKDALE"
replace GB66_margin = 48.16484 if GB66_district_name == "LIVERPOOL,SCOTLAND"
replace GB66_margin = 13.199 if GB66_district_name == "LIVERPOOL,TOXTETH"
replace GB66_margin = 14.58419 if GB66_district_name == "LIVERPOOL,WALTON"
replace GB66_margin = 14.31141 if GB66_district_name == "LIVERPOOL,WAVERTREE"
replace GB66_margin = 13.76857 if GB66_district_name == "LIVERPOOL,WEST DERBY"
replace GB66_margin = 56.25742 if GB66_district_name == "LLANELLI"
replace GB66_margin = 19.60076 if GB66_district_name == "CITIES OF LONDON AND WESTMINSTER"
replace GB66_margin = 16.23603 if GB66_district_name == "LONDONDERRY COUNTY"
replace GB66_margin = 13.17556 if GB66_district_name == "LOUGHBOROUGH"
replace GB66_margin = 9.497725 if GB66_district_name == "LOUTH"
replace GB66_margin = .6847612 if GB66_district_name == "LOWESTOFT"
replace GB66_margin = 9.740805 if GB66_district_name == "LUDLOW"
replace GB66_margin = 5.208311 if GB66_district_name == "LUTON"
replace GB66_margin = 7.958117 if GB66_district_name == "MACCLESFIELD"
replace GB66_margin = 9.348208 if GB66_district_name == "MAIDSTONE"
replace GB66_margin = 1.019072 if GB66_district_name == "MALDON"
replace GB66_margin = 29.36569 if GB66_district_name == "MANCHESTER,ARDWICK"
replace GB66_margin = 15.31394 if GB66_district_name == "MANCHESTER,BLACKLEY"
replace GB66_margin = 41.70573 if GB66_district_name == "MANCHESTER,CHEETHAM"
replace GB66_margin = 46.97589 if GB66_district_name == "MANCHESTER,EXCHANGE"
replace GB66_margin = 20.1925 if GB66_district_name == "MANCHESTER,GORTON"
replace GB66_margin = 3.66002 if GB66_district_name == "MANCHESTER,MOSS SIDE"
replace GB66_margin = 34.18216 if GB66_district_name == "MANCHESTER,OPENSHAW"
replace GB66_margin = 1.665165 if GB66_district_name == "MANCHESTER,WITHINGTON"
replace GB66_margin = 17.26957 if GB66_district_name == "MANCHESTER,WYTHENSHAWE"
replace GB66_margin = 42.00049 if GB66_district_name == "MANSFIELD"
replace GB66_margin = 11.85515 if GB66_district_name == "MELTON"
replace GB66_margin = 7.262092 if GB66_district_name == "MERIDEN"
replace GB66_margin = 8.693059 if GB66_district_name == "MERIONETH"
replace GB66_margin = 60.50377 if GB66_district_name == "MERTHYR TYDFIL"
replace GB66_margin = 1.059643 if GB66_district_name == "MERTON AND MORDEN"
replace GB66_margin = 50.19036 if GB66_district_name == "MIDDLESBROUGH,EAST"
replace GB66_margin = 8.969013 if GB66_district_name == "MIDDLESBROUGH,WEST"
replace GB66_margin = 7.132446 if GB66_district_name == "MIDDLETON AND PRESTWICK"
replace GB66_margin = 29.55673 if GB66_district_name == "MIDLOTHIAN"
replace GB66_margin = .9964144 if GB66_district_name == "MITCHAM"
replace GB66_margin = 5.463121 if GB66_district_name == "MONMOUTH"
replace GB66_margin = 14.09212 if GB66_district_name == "MONTGOMERY"
replace GB66_margin = 14.06034 if GB66_district_name == "MORAY AND NAIRN"
replace GB66_margin = 22.14959 if GB66_district_name == "MORECAMBE AND LONSDALE"
replace GB66_margin = 48.71613 if GB66_district_name == "MORPETH"
replace GB66_margin = 25.64804 if GB66_district_name == "MOTHERWELL"
replace GB66_margin = 5.906939 if GB66_district_name == "NANTWICH"
replace GB66_margin = 63.5648 if GB66_district_name == "NEATH"
replace GB66_margin = 12.25369 if GB66_district_name == "NELSON AND COLNE"
replace GB66_margin = 13.43061 if GB66_district_name == "NEWARK"
replace GB66_margin = 7.24306 if GB66_district_name == "NEWBURY"
replace GB66_margin = 23.60858 if GB66_district_name == "NEWCASTLE UNDER LYME"
replace GB66_margin = 54.8969 if GB66_district_name == "NEWCASTLE-UPON-TYNE CENTRAL"
replace GB66_margin = 19.54121 if GB66_district_name == "NEWCASTLE-UPON-TYNE EAST"
replace GB66_margin = 8.773416 if GB66_district_name == "NEWCASTLE-UPON-TYNE NORTH"
replace GB66_margin = 25.33543 if GB66_district_name == "NEWCASTLE-UPONTYNE WEST"
replace GB66_margin = 24.44615 if GB66_district_name == "NEW FOREST"
replace GB66_margin = 19.5523 if GB66_district_name == "NEWPORT"
replace GB66_margin = 25.62898 if GB66_district_name == "NEWTON"
replace GB66_margin = 8.561324 if GB66_district_name == "CENTRAL NORFOLK"
replace GB66_margin = 1.803941 if GB66_district_name == "NORTH NORFOLK"
replace GB66_margin = .3140173 if GB66_district_name == "SOUTH NORFOLK"
replace GB66_margin = 2.215235 if GB66_district_name == "SOUTH WEST NORFOLK"
replace GB66_margin = 52.81039 if GB66_district_name == "NORMANTON"
replace GB66_margin = 13.47112 if GB66_district_name == "NORTHAMPTON"
replace GB66_margin = 5.68261 if GB66_district_name == "SOUTH NORTHAMPTONSHIRE"
replace GB66_margin = 22.53134 if GB66_district_name == "NORTH FYLDE"
replace GB66_margin = 1.922183 if GB66_district_name == "NORTHWICH"
replace GB66_margin = 31.17927 if GB66_district_name == "NORWICH,NORTH"
replace GB66_margin = 9.593663 if GB66_district_name == "NORWICH,SOUTH"
replace GB66_margin = 17.71712 if GB66_district_name == "NOTTINGHAM,CENTRAL"
replace GB66_margin = 23.57792 if GB66_district_name == "NOTTINGHAM,NORTH"
replace GB66_margin = .6469576 if GB66_district_name == "NOTTINGHAM,SOUTH"
replace GB66_margin = 15.90479 if GB66_district_name == "NOTTINGHAM,WEST"
replace GB66_margin = 22.42169 if GB66_district_name == "NUNEATON"
replace GB66_margin = 56.69196 if GB66_district_name == "OGMORE"
replace GB66_margin = 6.484769 if GB66_district_name == "OLDBURY AND HALESOWEN"
replace GB66_margin = 15.44301 if GB66_district_name == "OLDHAM,EAST"
replace GB66_margin = 22.45285 if GB66_district_name == "OLDHAM,WEST"
replace GB66_margin = 36.75566 if GB66_district_name == "ORKNEY AND ZETLAND"
replace GB66_margin = 17.54386 if GB66_district_name == "ORMSKIRK"
replace GB66_margin = 3.345848 if GB66_district_name == "ORPINGTON"
replace GB66_margin = 12.83335 if GB66_district_name == "OSWESTRY"
replace GB66_margin = 4.614565 if GB66_district_name == "OXFORD"
replace GB66_margin = 26.15627 if GB66_district_name == "PADDINGTON,NORTH"
replace GB66_margin = 6.767975 if GB66_district_name == "PADDINGTON,SOUTH"
replace GB66_margin = 36.78661 if GB66_district_name == "PAISLEY"
replace GB66_margin = 11.9719 if GB66_district_name == "PEMBROKE"
replace GB66_margin = 38.87203 if GB66_district_name == "PENISTONE"
replace GB66_margin = 22.35309 if GB66_district_name == "PENRITH AND THE BORDERS"
replace GB66_margin = 28.64073 if GB66_district_name == "PERTH AND EAST PERTHSHIRE"
replace GB66_margin = .0057717 if GB66_district_name == "PETERBOROUGH"
replace GB66_margin = 28.42713 if GB66_district_name == "PETERSFIELD"
replace GB66_margin = .7057366 if GB66_district_name == "PLYMOUTH,DEVONPORT"
replace GB66_margin = 9.01713 if GB66_district_name == "PLYMOUTH,SUTTON"
replace GB66_margin = 56.72282 if GB66_district_name == "PONTEFRACT"
replace GB66_margin = 56.56747 if GB66_district_name == "PONTYPOOL"
replace GB66_margin = 49.83603 if GB66_district_name == "PONTYPRIDD"
replace GB66_margin = 10.88546 if GB66_district_name == "POOLE"
replace GB66_margin = 69.0142 if GB66_district_name == "POPLAR"
replace GB66_margin = 11.58844 if GB66_district_name == "PORTSMOUTH,LANGSTON"
replace GB66_margin = 21.29449 if GB66_district_name == "PORTSMOUTH,SOUTH"
replace GB66_margin = 3.394848 if GB66_district_name == "PORTSMOUTH,WEST"
replace GB66_margin = 5.946877 if GB66_district_name == "PRESTON,NORTH"
replace GB66_margin = 7.215855 if GB66_district_name == "PRESTON,SOUTH"
replace GB66_margin = 5.096144 if GB66_district_name == "PUDSEY"
replace GB66_margin = 8.320918 if GB66_district_name == "READING"
replace GB66_margin = 14.73073 if GB66_district_name == "REIGATE"
replace GB66_margin = 20.09868 if GB66_district_name == "EAST RENFREWSHIRE"
replace GB66_margin = 8.62921 if GB66_district_name == "WEST RENFREWSHIRE"
replace GB66_margin = 68.97814 if GB66_district_name == "RHONDDA,EAST"
replace GB66_margin = 67.44409 if GB66_district_name == "RHONDDA,WEST"
replace GB66_margin = 14.11111 if GB66_district_name == "RICHMOND (SURREY)"
replace GB66_margin = 32.06494 if GB66_district_name == "RICHMOND (YORKSHIRE)"
replace GB66_margin = 26.29284 if GB66_district_name == "RIPON"
replace GB66_margin = 24.06044 if GB66_district_name == "ROCHDALE"
replace GB66_margin = 4.187954 if GB66_district_name == "ROCHESTER AND CHATHAM"
replace GB66_margin = 14.82319 if GB66_district_name == "ROMFORD"
replace GB66_margin = 11.69872 if GB66_district_name == "ROSS AND CROMARTY"
replace GB66_margin = 10.79129 if GB66_district_name == "ROSSENDALE"
replace GB66_margin = 39.35464 if GB66_district_name == "ROTHERHAM"
replace GB66_margin = 53.63814 if GB66_district_name == "ROTHER VALLEY"
replace GB66_margin = 31.59444 if GB66_district_name == "ROWLEY REGIS AND TIPTON"
replace GB66_margin = 4.898746 if GB66_district_name == "ROXBURGH, SELKIRK AND PEEBLES"
replace GB66_margin = .9384608 if GB66_district_name == "RUGBY"
replace GB66_margin = 18.04832 if GB66_district_name == "RUISLIP-NORTHWOOD"
replace GB66_margin = 11.67959 if GB66_district_name == "RUNCORN"
replace GB66_margin = .6791657 if GB66_district_name == "RUSHCLIFFE"
replace GB66_margin = 14.56627 if GB66_district_name == "RUTHERGLEN"
replace GB66_margin = 6.787357 if GB66_district_name == "RUTLAND AND STAMFORD"
replace GB66_margin = 37.03648 if GB66_district_name == "RYE"
replace GB66_margin = 7.574703 if GB66_district_name == "SAFFRON WALDON"
replace GB66_margin = 6.068788 if GB66_district_name == "ST.ALBANS"
replace GB66_margin = 41.50443 if GB66_district_name == "ST.HELENS"
replace GB66_margin = 10.39633 if GB66_district_name == "ST.IVES"
replace GB66_margin = 26.1651 if GB66_district_name == "ST.MARYLEBONE"
replace GB66_margin = 32.19887 if GB66_district_name == "ST.PANCRAS NORTH"
replace GB66_margin = 34.32814 if GB66_district_name == "SALFORD,EAST"
replace GB66_margin = 18.4034 if GB66_district_name == "SALFORD,WEST"
replace GB66_margin = 10.07963 if GB66_district_name == "SALISBURY"
replace GB66_margin = 11.30628 if GB66_district_name == "SCARBOROUGH AND WHITBY"
replace GB66_margin = 29.30635 if GB66_district_name == "SEDGEFIELD"
replace GB66_margin = 18.17749 if GB66_district_name == "SEVENOAKS"
replace GB66_margin = 54.54393 if GB66_district_name == "SHEFFIELD,ATTERCLIFFE"
replace GB66_margin = 54.60732 if GB66_district_name == "SHEFFIELD,BRIGHTSIDE"
replace GB66_margin = 18.85626 if GB66_district_name == "SHEFFIELD,HALLAM"
replace GB66_margin = 7.979684 if GB66_district_name == "SHEFFIELD,HEELEY"
replace GB66_margin = 35.81747 if GB66_district_name == "SHEFFIELD,HILLSBOROUGH"
replace GB66_margin = 63.85629 if GB66_district_name == "SHEFFIELD,PARK"
replace GB66_margin = 3.774915 if GB66_district_name == "SHIPLEY"
replace GB66_margin = 46.8601 if GB66_district_name == "SHOREDITCH AND FINSBURY"
replace GB66_margin = 7.638031 if GB66_district_name == "SHREWSBURY"
replace GB66_margin = 10.9375 if GB66_district_name == "SKIPTON"
replace GB66_margin = 10.29559 if GB66_district_name == "SMETHWICK"
replace GB66_margin = 31.38618 if GB66_district_name == "SOLIHULL"
replace GB66_margin = 3.700781 if GB66_district_name == "NORTH SOMERSET"
replace GB66_margin = 14.29717 if GB66_district_name == "SOUTHALL"
replace GB66_margin = 70.756726 if GB66_district_name == "SOUTHAMPTON,ITCHEN"
replace GB66_margin = 4.792018 if GB66_district_name == "SOUTHAMPTON,TEST"
replace GB66_margin = 1.224306 if GB66_district_name == "SOUTHEND EAST"
replace GB66_margin = 23.46666 if GB66_district_name == "SOUTHEND WEST"
replace GB66_margin = 29.80681 if GB66_district_name == "SOUTH FYLDE"
replace GB66_margin = 28.86369 if GB66_district_name == "SOUTHGATE"
replace GB66_margin = 21.77272 if GB66_district_name == "SOUTHPORT"
replace GB66_margin = 29.46775 if GB66_district_name == "SOUTH SHIELDS"
replace GB66_margin = 51.83253 if GB66_district_name == "SOUTHWARK"
replace GB66_margin = 13.78057 if GB66_district_name == "SOWERBY"
replace GB66_margin = 5.066927 if GB66_district_name == "SPELTHORNE"
replace GB66_margin = 9.86497 if GB66_district_name == "STAFFORD AND STONE"
replace GB66_margin = 13.81774 if GB66_district_name == "STALYBRIDGE AND HYDE"
replace GB66_margin = 59.45777 if GB66_district_name == "STEPNEY"
replace GB66_margin = 21.42808 if GB66_district_name == "STIRLING AND FALKIRK"
replace GB66_margin = 30.67199 if GB66_district_name == "CLACKMANNAN AND EAST STIRLINGSHIRE"
replace GB66_margin = 22.56257 if GB66_district_name == "WEST STIRLINGSHIRE"
replace GB66_margin = 8.369292 if GB66_district_name == "STOCKPORT NORTH"
replace GB66_margin = 11.6781 if GB66_district_name == "STOCKPORT SOUTH"
replace GB66_margin = 21.4813 if GB66_district_name == "STOCKTON-ON-TEES"
replace GB66_margin = 38.9614 if GB66_district_name == "STOKE NEWINGTON AND HACKNEY NORTH"
replace GB66_margin = 36.09579 if GB66_district_name == "STOKE ON TRENT,CENTRAL"
replace GB66_margin = 43.06309 if GB66_district_name == "STOKE ON TRENT,NORTH"
replace GB66_margin = 28.39612 if GB66_district_name == "STOKE ON TRENT,SOUTH"
replace GB66_margin = 21.60966 if GB66_district_name == "STRATFORD"
replace GB66_margin = 6.410134 if GB66_district_name == "STRETFORD"
replace GB66_margin = 3.061831 if GB66_district_name == "STROUD"
replace GB66_margin = 13.17283 if GB66_district_name == "SUDBURY AND WOODBRIDGE"
replace GB66_margin = 21.53556 if GB66_district_name == "SUNDERLAND NORTH"
replace GB66_margin = 14.94631 if GB66_district_name == "SUNDERLAND SOUTH"
replace GB66_margin = 15.71056 if GB66_district_name == "SURBITON"
replace GB66_margin = 25.5816 if GB66_district_name == "EAST SURREY"
replace GB66_margin = 20.81465 if GB66_district_name == "SUTTON AND CHEAM"
replace GB66_margin = 27.82138 if GB66_district_name == "SUTTON COLDFIELD"
replace GB66_margin = 59.85018 if GB66_district_name == "SWANSEA,EAST"
replace GB66_margin = 12.78272 if GB66_district_name == "SWANSEA,WEST"
replace GB66_margin = 24.6722 if GB66_district_name == "SWINDON"
replace GB66_margin = 6.702094 if GB66_district_name == "TAUNTON"
replace GB66_margin = 18.59477 if GB66_district_name == "TAVISTOCK"
replace GB66_margin = 23.17851 if GB66_district_name == "THIRSK AND MALTON"
replace GB66_margin = 33.94767 if GB66_district_name == "THURROCK"
replace GB66_margin = 21.54125 if GB66_district_name == "TIVERTON"
replace GB66_margin = 11.86447 if GB66_district_name == "TONBRIDGE"
replace GB66_margin = 20.84705 if GB66_district_name == "TORQUAY"
replace GB66_margin = 9.59462 if GB66_district_name == "TORRINGTON"
replace GB66_margin = 16.27759 if GB66_district_name == "TOTNES"
replace GB66_margin = 30.58485 if GB66_district_name == "TOTTENHAM"
replace GB66_margin = 3.477208 if GB66_district_name == "TRURO"
replace GB66_margin = 13.73029 if GB66_district_name == "TWICKENHAM"
replace GB66_margin = 5.768643 if GB66_district_name == "TYNEMOUTH"
replace GB66_margin = 4.499437 if GB66_district_name == "ULSTER MID"
replace GB66_margin = 1.856604 if GB66_district_name == "UXBRIDGE"
replace GB66_margin = 30.78315 if GB66_district_name == "WAKEFIELD"
replace GB66_margin = 1.123617 if GB66_district_name == "WALLASEY"
replace GB66_margin = 30.41723 if GB66_district_name == "WALLSEND"
replace GB66_margin = 30.12724 if GB66_district_name == "WALSALL,NORTH"
replace GB66_margin = 6.876207 if GB66_district_name == "WALSALL,SOUTH"
replace GB66_margin = 5.504447 if GB66_district_name == "WALTHAMSTOW,EAST"
replace GB66_margin = 36.39207 if GB66_district_name == "WALTHAMSTOW,WEST"
replace GB66_margin = 13.903 if GB66_district_name == "WANDSWORTH,CENTRAL"
replace GB66_margin = 11.01789 if GB66_district_name == "WANDSWORTH,CLAPHAM"
replace GB66_margin = 6.324476 if GB66_district_name == "WANDSWORTH,PUTNEY"
replace GB66_margin = 9.255849 if GB66_district_name == "WANDSWORTH,STREATHAM"
replace GB66_margin = 30.23119 if GB66_district_name == "WANSTEAD AND WOODFORD"
replace GB66_margin = 38.36311 if GB66_district_name == "WARRINGTON"
replace GB66_margin = 15.51623 if GB66_district_name == "WARWICK AND LEAMINGTON"
replace GB66_margin = 8.752396 if GB66_district_name == "WATFORD"
replace GB66_margin = 17.6888 if GB66_district_name == "WEDNESBURY"
replace GB66_margin = 4.733239 if GB66_district_name == "WELLINGBOROUGH"
replace GB66_margin = 7.412916 if GB66_district_name == "WELLS"
replace GB66_margin = 11.56595 if GB66_district_name == "WEMBLEY NORTH"
replace GB66_margin = 3.483818 if GB66_district_name == "WEMBLEY SOUTH"
replace GB66_margin = 15.72998 if GB66_district_name == "WEST BROMWICH"
replace GB66_margin = 5.809775 if GB66_district_name == "WESTBURY"
replace GB66_margin = 40.84788 if GB66_district_name == "WESTERN ISLES"
replace GB66_margin = 47.89827 if GB66_district_name == "WEST HAM NORTH"
replace GB66_margin = 65.67606 if GB66_district_name == "WEST HAM SOUTH"
replace GB66_margin = 29.92921 if GB66_district_name == "WESTHOUGHTON"
replace GB66_margin = 17.10273 if GB66_district_name == "WEST LOTHIAN"
replace GB66_margin = 24.99718 if GB66_district_name == "WESTMORLAND"
replace GB66_margin = 23.27499 if GB66_district_name == "WESTON SUPER MARE"
replace GB66_margin = 23.97916 if GB66_district_name == "WHITEHAVEN"
replace GB66_margin = 21.38752 if GB66_district_name == "WIDNES"
replace GB66_margin = 47.80693 if GB66_district_name == "WIGAN"
replace GB66_margin = 17.58137 if GB66_district_name == "WILLESDEN,EAST"
replace GB66_margin = 40.00988 if GB66_district_name == "WILLESDEN,WEST"
replace GB66_margin = 18.79866 if GB66_district_name == "WIMBLEDON"
replace GB66_margin = 21.14433 if GB66_district_name == "WINCHESTER"
replace GB66_margin = 16.12029 if GB66_district_name == "WINDSOR"
replace GB66_margin = 15.06252 if GB66_district_name == "WIRRAL"
replace GB66_margin = 20.59771 if GB66_district_name == "WOKING"
replace GB66_margin = 13.50124 if GB66_district_name == "WOKINGHAM"
replace GB66_margin = 23.807 if GB66_district_name == "WOLVERHAMPTON NORTH EAST"
replace GB66_margin = 18.11704 if GB66_district_name == "WOLVERHAMPTON SOUTH WEST"
replace GB66_margin = 21.60311 if GB66_district_name == "WOOD GREEN"
replace GB66_margin = 43.31003 if GB66_district_name == "WOOLWICH,EAST"
replace GB66_margin = 9.396405 if GB66_district_name == "WOOLWICH,WEST"
replace GB66_margin = 7.040354 if GB66_district_name == "WORCESTER"
replace GB66_margin = 23.68983 if GB66_district_name == "SOUTH WORCESTERSHIRE"
replace GB66_margin = 26.62713 if GB66_district_name == "WORKINGTON"
replace GB66_margin = 39.10089 if GB66_district_name == "WORTHING"
replace GB66_margin = 1.817869 if GB66_district_name == "THE WREKIN"
replace GB66_margin = 34.01322 if GB66_district_name == "WREXHAM"
replace GB66_margin = 11.04161 if GB66_district_name == "WYCOMBE"
replace GB66_margin = 1.819842 if GB66_district_name == "YARMOUTH"
replace GB66_margin = 3.962207 if GB66_district_name == "YEOVIL"
replace GB66_margin = 10.47498 if GB66_district_name == "YORK"

* Effective number of electoral parties by district

gen GB66_enep = .

replace GB66_enep = 1.627792 if GB66_district_name == "ABERAVON"
replace GB66_enep = 1.777385 if GB66_district_name == "ABERDARE"
replace GB66_enep = 1.963735 if GB66_district_name == "ABERDEEN NORTH"
replace GB66_enep = 2.464721 if GB66_district_name == "ABERDEEN SOUTH"
replace GB66_enep = 3.282811 if GB66_district_name == "EAST ABERDEENSHIRE"
replace GB66_enep = 2.678134 if GB66_district_name == "WEST ABERDEENSHIRE"
replace GB66_enep = 1.265033 if GB66_district_name == "ABERTILLERY"
replace GB66_enep = 2.514291 if GB66_district_name == "ABINGDON"
replace GB66_enep = 2.362117 if GB66_district_name == "ACCRINGTON"
replace GB66_enep = 1.953826 if GB66_district_name == "ACTON"
replace GB66_enep = 2.645007 if GB66_district_name == "ALDERSHOT"
replace GB66_enep = 2.625279 if GB66_district_name == "ALTRINCHAM AND SALE"
replace GB66_enep = 2.288219 if GB66_district_name == "ANGLESEY"
replace GB66_enep = 2.622525 if GB66_district_name == "NORTH ANGUS AND MEARNS"
replace GB66_enep = 1.713674 if GB66_district_name == "SOUTH ANGUS"
replace GB66_enep = 1.519359 if GB66_district_name == "ANTRIM NORTH"
replace GB66_enep = 1.848722 if GB66_district_name == "ANTRIM SOUTH"
replace GB66_enep = 2.868648 if GB66_district_name == "ARGYLL"
replace GB66_enep = 1.674776 if GB66_district_name == "ARMAGH"
replace GB66_enep = 2.415077 if GB66_district_name == "ARUNDEL AND SHOREHAM"
replace GB66_enep = 1.634915 if GB66_district_name == "ASHFIELD"
replace GB66_enep = 2.616749 if GB66_district_name == "ASHFORD"
replace GB66_enep = 1.94119 if GB66_district_name == "ASHTON UNDER LYNE"
replace GB66_enep = 2.679119 if GB66_district_name == "AYLESBURY"
replace GB66_enep = 1.9997 if GB66_district_name == "AYR"
replace GB66_enep = 1.953941 if GB66_district_name == "CENTRAL AYRSHIRE"
replace GB66_enep = 2.417993 if GB66_district_name == "BUTE AND NORTH AYRSHIRE"
replace GB66_enep = 1.787279 if GB66_district_name == "SOUTH AYRSHIRE"
replace GB66_enep = 2.480532 if GB66_district_name == "BANBURY"
replace GB66_enep = 2.872665 if GB66_district_name == "BANFF"
replace GB66_enep = 2.001233 if GB66_district_name == "BARKING"
replace GB66_enep = 1.968363 if GB66_district_name == "BARKSTON ASH"
replace GB66_enep = 2.612366 if GB66_district_name == "BARNET"
replace GB66_enep = 1.582757 if GB66_district_name == "BARNSLEY"
replace GB66_enep = 2.267298 if GB66_district_name == "BARONS COURT"
replace GB66_enep = 1.918373 if GB66_district_name == "BARROW IN FURNESS"
replace GB66_enep = 1.998693 if GB66_district_name == "BARRY"
replace GB66_enep = 2.581989 if GB66_district_name == "BASINGSTOKE"
replace GB66_enep = 1.897286 if GB66_district_name == "BASSETLAW"
replace GB66_enep = 2.633323 if GB66_district_name == "BATH"
replace GB66_enep = 2.372394 if GB66_district_name == "BATLEY AND MORLEY"
replace GB66_enep = 1.715686 if GB66_district_name == "BATTERSEA,NORTH"
replace GB66_enep = 2.302949 if GB66_district_name == "BATTERSEA,SOUTH"
replace GB66_enep = 1.996841 if GB66_district_name == "BEBINGTON"
replace GB66_enep = 2.602433 if GB66_district_name == "BECKENHAM"
replace GB66_enep = 2.422527 if GB66_district_name == "BEDFORD"
replace GB66_enep = 2.556407 if GB66_district_name == "MID-BEDFORDSHIRE"
replace GB66_enep = 2.413595 if GB66_district_name == "SOUTH BEDFORDSHIRE"
replace GB66_enep = 1.310972 if GB66_district_name == "BEDWELLTY"
replace GB66_enep = 1.982735 if GB66_district_name == "BELFAST EAST"
replace GB66_enep = 1.956707 if GB66_district_name == "BELFAST NORTH"
replace GB66_enep = 1.827529 if GB66_district_name == "BELFAST SOUTH"
replace GB66_enep = 1.996843 if GB66_district_name == "BELFAST WEST"
replace GB66_enep = 1.991315 if GB66_district_name == "BELPER"
replace GB66_enep = 1.454345 if GB66_district_name == "BERMONDSEY"
replace GB66_enep = 1.996996 if GB66_district_name == "BERWICK AND EAST LOTHIAN"
replace GB66_enep = 2.678213 if GB66_district_name == "BERWICK UPON TWEED"
replace GB66_enep = 1.877699 if GB66_district_name == "BETHNAL GREEN"
replace GB66_enep = 2.324266 if GB66_district_name == "BEXLEY"
replace GB66_enep = 2.36064 if GB66_district_name == "BILLERICAY"
replace GB66_enep = 1.962311 if GB66_district_name == "BILSTON"
replace GB66_enep = 1.964724 if GB66_district_name == "BIRKENHEAD"
replace GB66_enep = 1.943723 if GB66_district_name == "BIRMINGHAM,ALL SAINTS"
replace GB66_enep = 1.909707 if GB66_district_name == "BIRMINGHAM,ASTON"
replace GB66_enep = 2.416725 if GB66_district_name == "BIRMINGHAM,EDGBASTON"
replace GB66_enep = 2.506978 if GB66_district_name == "BIRMINGHAM,HALL GREEN"
replace GB66_enep = 2.163634 if GB66_district_name == "BIRMINGHAM,HANDSWORTH"
replace GB66_enep = 2.306406 if GB66_district_name == "BIRMINGHAM,LADYWOOD"
replace GB66_enep = 1.992033 if GB66_district_name == "BIRMINGHAM,NORTHFIED"
replace GB66_enep = 1.980335 if GB66_district_name == "BIRMINGHAM,PERRY BARR"
replace GB66_enep = 2.481965 if GB66_district_name == "BIRMINGHAM,SELLY OAK"
replace GB66_enep = 1.769297 if GB66_district_name == "BIRMINGHAM,SMALL HEATH"
replace GB66_enep = 1.913731 if GB66_district_name == "BIRMINGHAM,SPARKBROOK"
replace GB66_enep = 1.912223 if GB66_district_name == "BIRMINGHAM,STECHFORD"
replace GB66_enep = 1.968296 if GB66_district_name == "BIRMINGHAM,YARDLEY"
replace GB66_enep = 1.838014 if GB66_district_name == "BISHOP AUCKLAND"
replace GB66_enep = 1.946009 if GB66_district_name == "BLACKBURN"
replace GB66_enep = 2.680413 if GB66_district_name == "BLACKPOOL,NORTH"
replace GB66_enep = 1.985476 if GB66_district_name == "BLACKPOOL,SOUTH"
replace GB66_enep = 1.742851 if GB66_district_name == "BLAYDON"
replace GB66_enep = 1.517591 if GB66_district_name == "BLYTH"
replace GB66_enep = 2.481834 if GB66_district_name == "BODMIN"
replace GB66_enep = 1.418012 if GB66_district_name == "BOLSOVER"
replace GB66_enep = 1.934317 if GB66_district_name == "BOLTON,EAST"
replace GB66_enep = 2.428283 if GB66_district_name == "BOLTON,WEST"
replace GB66_enep = 2.078511 if GB66_district_name == "BOOTLE"
replace GB66_enep = 2.494999 if GB66_district_name == "BOSWORTH"
replace GB66_enep = 1.983126 if GB66_district_name == "BOTHWELL"
replace GB66_enep = 2.41954 if GB66_district_name == "BOURNEMOUTH EAST AND CHRISTCHURCH"
replace GB66_enep = 2.602889 if GB66_district_name == "BOURNEMOUTH WEST"
replace GB66_enep = 1.736011 if GB66_district_name == "BRADFORD,EAST"
replace GB66_enep = 1.977375 if GB66_district_name == "BRADFORD,NORTH"
replace GB66_enep = 2.406256 if GB66_district_name == "BRADFORD,SOUTH"
replace GB66_enep = 1.996724 if GB66_district_name == "BRADFORD,WEST"
replace GB66_enep = 2.140811 if GB66_district_name == "BRECON AND RADNOR"
replace GB66_enep = 2.273628 if GB66_district_name == "BRENTFORD AND CHISWICK"
replace GB66_enep = 2.68081 if GB66_district_name == "BRIDGWATER"
replace GB66_enep = 2.434972 if GB66_district_name == "BRIDLINGTON"
replace GB66_enep = 1.99889 if GB66_district_name == "BRIERLEY HILL"
replace GB66_enep = 1.921886 if GB66_district_name == "BRIGG"
replace GB66_enep = 1.981606 if GB66_district_name == "BRIGHOUSE AND SPENBOROUGH"
replace GB66_enep = 1.999426 if GB66_district_name == "BRIGHTON,KEMPTOWN"
replace GB66_enep = 1.948337 if GB66_district_name == "BRIGHTON,PAVILION"
replace GB66_enep = 2.085452 if GB66_district_name == "BRISTOL,CENTRAL"
replace GB66_enep = 1.986069 if GB66_district_name == "BRISTOL,NORTH EAST"
replace GB66_enep = 2.049145 if GB66_district_name == "BRISTOL,NORTH WEST"
replace GB66_enep = 1.789794 if GB66_district_name == "BRISTOL,SOUTH"
replace GB66_enep = 1.901975 if GB66_district_name == "BRISTOL,SOUTH EAST"
replace GB66_enep = 2.404009 if GB66_district_name == "BRISTOL,WEST"
replace GB66_enep = 2.570988 if GB66_district_name == "BROMLEY"
replace GB66_enep = 1.992709 if GB66_district_name == "BROMSGROVE"
replace GB66_enep = 2.379263 if GB66_district_name == "BUCKINGHAM"
replace GB66_enep = 2.619608 if GB66_district_name == "SOUTH BUCKINGHAMSHIRE"
replace GB66_enep = 2.193833 if GB66_district_name == "BURNLEY"
replace GB66_enep = 1.999931 if GB66_district_name == "BURTON"
replace GB66_enep = 2.338738 if GB66_district_name == "BURY AND RADCLIFFE"
replace GB66_enep = 1.983517 if GB66_district_name == "BURY ST.EDMUNDS"
replace GB66_enep = 2.432142 if GB66_district_name == "CAERNARVON"
replace GB66_enep = 1.709194 if GB66_district_name == "CAERPHILLY"
replace GB66_enep = 2.835383 if GB66_district_name == "CAITHNESS AND SUTHERLAND"
replace GB66_enep = 2.337965 if GB66_district_name == "CAMBERWELL,DULWICH"
replace GB66_enep = 1.675617 if GB66_district_name == "CAMBERWELL,PECKHAM"
replace GB66_enep = 2.4645 if GB66_district_name == "CAMBRIDGE"
replace GB66_enep = 2.550086 if GB66_district_name == "CAMBRIDGESHIRE"
replace GB66_enep = 1.925896 if GB66_district_name == "CANNOCK"
replace GB66_enep = 2.658419 if GB66_district_name == "CANTERBURY"
replace GB66_enep = 1.999585 if GB66_district_name == "CARDIFF,NORTH"
replace GB66_enep = 2.192439 if GB66_district_name == "CARDIFF,SOUTH EAST"
replace GB66_enep = 1.907718 if GB66_district_name == "CARDIFF,WEST"
replace GB66_enep = 3.254754 if GB66_district_name == "CARDIGAN"
replace GB66_enep = 1.970406 if GB66_district_name == "CARLISLE"
replace GB66_enep = 2.600694 if GB66_district_name == "CARLTON"
replace GB66_enep = 3.118067 if GB66_district_name == "CARMARTHEN"
replace GB66_enep = 2.639853 if GB66_district_name == "CARSHALTON"
replace GB66_enep = 2.64852 if GB66_district_name == "CHEADLE"
replace GB66_enep = 2.541635 if GB66_district_name == "CHELMSFORD"
replace GB66_enep = 2.211555 if GB66_district_name == "CHELSEA"
replace GB66_enep = 1.990614 if GB66_district_name == "CHELTENHAM"
replace GB66_enep = 2.607729 if GB66_district_name == "CHERTSEY"
replace GB66_enep = 2.550578 if GB66_district_name == "CITY OF CHESTER"
replace GB66_enep = 2.159664 if GB66_district_name == "CHESTERFIELD"
replace GB66_enep = 1.54951 if GB66_district_name == "CHESTER-LE-STREET"
replace GB66_enep = 2.373761 if GB66_district_name == "CHICHESTER"
replace GB66_enep = 2.452554 if GB66_district_name == "CHIGWELL"
replace GB66_enep = 2.841754 if GB66_district_name == "CHIPPENHAM"
replace GB66_enep = 2.465978 if GB66_district_name == "CHISLEHURST"
replace GB66_enep = 1.982081 if GB66_district_name == "CHORLEY"
replace GB66_enep = 1.948098 if GB66_district_name == "CIRENCESTER AND TEWKESBURY"
replace GB66_enep = 2.361919 if GB66_district_name == "CLEVELAND"
replace GB66_enep = 2.549129 if GB66_district_name == "CLITHEROE"
replace GB66_enep = 1.850872 if GB66_district_name == "COATBRIDGE AND AIRDRIE"
replace GB66_enep = 2.437426 if GB66_district_name == "COLCHESTER"
replace GB66_enep = 2.334149 if GB66_district_name == "COLNE VALLEY"
replace GB66_enep = 1.644096 if GB66_district_name == "CONSETT"
replace GB66_enep = 2.27144 if GB66_district_name == "CONWAY"
replace GB66_enep = 2.280549 if GB66_district_name == "NORTH CORNWALL"
replace GB66_enep = 2.15116 if GB66_district_name == "COVENTRY,EAST"
replace GB66_enep = 1.932885 if GB66_district_name == "COVENTRY,NORTH"
replace GB66_enep = 1.981241 if GB66_district_name == "COVENTRY,SOUTH"
replace GB66_enep = 1.907576 if GB66_district_name == "CREWE"
replace GB66_enep = 1.986861 if GB66_district_name == "CROSBY"
replace GB66_enep = 2.578632 if GB66_district_name == "CROYDON,NORTH EAST"
replace GB66_enep = 2.62041 if GB66_district_name == "CROYDON,NORTH WEST"
replace GB66_enep = 2.438312 if GB66_district_name == "CROYDON,SOUTH"
replace GB66_enep = 1.643577 if GB66_district_name == "DAGENHAM"
replace GB66_enep = 2.313773 if GB66_district_name == "DARLINGTON"
replace GB66_enep = 2.447366 if GB66_district_name == "DARTFORD"
replace GB66_enep = 2.745786 if GB66_district_name == "DARWEN"
replace GB66_enep = 1.456804 if GB66_district_name == "DEARNE VALLEY"
replace GB66_enep = 3.247111 if GB66_district_name == "DENBIGH"
replace GB66_enep = 1.928857 if GB66_district_name == "DEPTFORD"
replace GB66_enep = 1.893859 if GB66_district_name == "DERBY NORTH"
replace GB66_enep = 2.254393 if GB66_district_name == "DERBY SOUTH"
replace GB66_enep = 1.794034 if GB66_district_name == "NORTH EAST DERBYSHIRE"
replace GB66_enep = 1.982977 if GB66_district_name == "SOUTH EAST DERBYSHIRE"
replace GB66_enep = 2.487042 if GB66_district_name == "WEST DERBYSHIRE"
replace GB66_enep = 2.636376 if GB66_district_name == "DEVIZES"
replace GB66_enep = 2.635582 if GB66_district_name == "NORTH DEVON"
replace GB66_enep = 2.494113 if GB66_district_name == "DEWSBURY"
replace GB66_enep = 1.964772 if GB66_district_name == "DONCASTER"
replace GB66_enep = 1.602626 if GB66_district_name == "DON VALLEY"
replace GB66_enep = 2.488758 if GB66_district_name == "DORKING"
replace GB66_enep = 2.60742 if GB66_district_name == "NORTH DORSET"
replace GB66_enep = 2.474934 if GB66_district_name == "SOUTH DORSET"
replace GB66_enep = 2.70095 if GB66_district_name == "WEST DORSET"
replace GB66_enep = 2.285958 if GB66_district_name == "DOVER"
replace GB66_enep = 1.508761 if GB66_district_name == "DOWN NORTH"
replace GB66_enep = 2.108071 if GB66_district_name == "DOWN SOUTH"
replace GB66_enep = 1.936543 if GB66_district_name == "DUDLEY"
replace GB66_enep = 2.805479 if GB66_district_name == "DUMFRIES"
replace GB66_enep = 2.421405 if GB66_district_name == "EAST DUNBARTONSHIRE"
replace GB66_enep = 2.473591 if GB66_district_name == "WEST DUNBARTONSHIRE"
replace GB66_enep = 1.968594 if GB66_district_name == "DUNDEE EAST"
replace GB66_enep = 2.325427 if GB66_district_name == "DUNDEE WEST"
replace GB66_enep = 2.301886 if GB66_district_name == "DUNFERMLINE BURGHS"
replace GB66_enep = 1.708803 if GB66_district_name == "DURHAM"
replace GB66_enep = 1.636118 if GB66_district_name == "NORTH WEST DURHAM"
replace GB66_enep = 2.316732 if GB66_district_name == "EALING,NORTH"
replace GB66_enep = 2.457872 if GB66_district_name == "EALING,SOUTH"
replace GB66_enep = 1.435167 if GB66_district_name == "EASINGTON"
replace GB66_enep = 2.832662 if GB66_district_name == "EASTBOURNE"
replace GB66_enep = 2.462586 if GB66_district_name == "EAST GRINSTEAD"
replace GB66_enep = 1.817137 if GB66_district_name == "EAST HAM,NORTH"
replace GB66_enep = 1.725569 if GB66_district_name == "EAST HAM,SOUTH"
replace GB66_enep = 2.428657 if GB66_district_name == "EASTLEIGH"
replace GB66_enep = 1.338736 if GB66_district_name == "EBBW VALE"
replace GB66_enep = 2.015846 if GB66_district_name == "ECCLES"
replace GB66_enep = 1.942561 if GB66_district_name == "EDINBURGH CENTRAL"
replace GB66_enep = 1.915869 if GB66_district_name == "EDINBURGH EAST"
replace GB66_enep = 1.997804 if GB66_district_name == "EDINBURGH LEITH"
replace GB66_enep = 2.393787 if GB66_district_name == "EDINBURGH NORTH"
replace GB66_enep = 2.41876 if GB66_district_name == "EDINBURGH PENTLANDS"
replace GB66_enep = 2.250615 if GB66_district_name == "EDINBURGH SOUTH"
replace GB66_enep = 2.492382 if GB66_district_name == "EDINBURGH WEST"
replace GB66_enep = 1.943041 if GB66_district_name == "EDMONTON"
replace GB66_enep = 2.35714 if GB66_district_name == "ENFIELD,EAST"
replace GB66_enep = 2.498803 if GB66_district_name == "ENFIELD,WEST"
replace GB66_enep = 2.487556 if GB66_district_name == "EPPING"
replace GB66_enep = 2.490797 if GB66_district_name == "EPSOM"
replace GB66_enep = 2.300204 if GB66_district_name == "ERITH AND CRAYFORD"
replace GB66_enep = 2.450666 if GB66_district_name == "ESHER"
replace GB66_enep = 2.455099 if GB66_district_name == "SOUTH EAST ESSEX"
replace GB66_enep = 1.981639 if GB66_district_name == "ETON AND SLOUGH"
replace GB66_enep = 2.418173 if GB66_district_name == "EXETER"
replace GB66_enep = 2.703901 if GB66_district_name == "EYE"
replace GB66_enep = 2.530569 if GB66_district_name == "FALMOUTH AND CAMBORNE"
replace GB66_enep = 2.698702 if GB66_district_name == "FARNHAM"
replace GB66_enep = 1.810122 if GB66_district_name == "FARNWORTH"
replace GB66_enep = 1.995107 if GB66_district_name == "FAVERSHAM"
replace GB66_enep = 2.386938 if GB66_district_name == "FELTHAM"
replace GB66_enep = 1.987353 if GB66_district_name == "FERMANAGH AND SOUTH TYRONE"
replace GB66_enep = 2.813129 if GB66_district_name == "EAST FIFE"
replace GB66_enep = 2.193233 if GB66_district_name == "WEST FIFE"
replace GB66_enep = 2.779847 if GB66_district_name == "FINCHLEY"
replace GB66_enep = 2.542098 if GB66_district_name == "EAST FLINTSHIRE"
replace GB66_enep = 2.882607 if GB66_district_name == "WEST FLINTSHIRE"
replace GB66_enep = 1.9288 if GB66_district_name == "FOLKESTONE AND HYTHE"
replace GB66_enep = 2.057736 if GB66_district_name == "FULHAM"
replace GB66_enep = 2.58356 if GB66_district_name == "GAINSBOROUGH"
replace GB66_enep = 1.891313 if GB66_district_name == "GALLOWAY"
replace GB66_enep = 1.734292 if GB66_district_name == "GATESHEAD EAST"
replace GB66_enep = 1.605934 if GB66_district_name == "GATESHEAD WEST"
replace GB66_enep = 2.340448 if GB66_district_name == "GILLINGHAM"
replace GB66_enep = 1.618639 if GB66_district_name == "GLASGOW BRIDGETON"
replace GB66_enep = 2.038454 if GB66_district_name == "GLASGOW CATHCART"
replace GB66_enep = 1.60406 if GB66_district_name == "GLASGOW CENTRAL"
replace GB66_enep = 2.216445 if GB66_district_name == "GLASGOW CRAIGTON"
replace GB66_enep = 1.702479 if GB66_district_name == "GLASGOW GORBALS"
replace GB66_enep = 1.84825 if GB66_district_name == "GLASGOW GOVAN"
replace GB66_enep = 1.875468 if GB66_district_name == "GLASGOW HILLHEAD"
replace GB66_enep = 1.952271 if GB66_district_name == "GLASGOW KELVINGROVE"
replace GB66_enep = 1.938539 if GB66_district_name == "GLASGOW MARYHILL"
replace GB66_enep = 1.995264 if GB66_district_name == "GLASGOW POLLOK"
replace GB66_enep = 1.843419 if GB66_district_name == "GLASGOW PROVAN"
replace GB66_enep = 2.031197 if GB66_district_name == "GLASGOW SCOTSTOUN"
replace GB66_enep = 2.020959 if GB66_district_name == "GLASGOW SHETTLESTON"
replace GB66_enep = 1.973631 if GB66_district_name == "GLASGOW SPRINGBURN"
replace GB66_enep = 2.294922 if GB66_district_name == "GLASGOW WOODSIDE"
replace GB66_enep = 2.561543 if GB66_district_name == "GLOUCESTER"
replace GB66_enep = 2.48383 if GB66_district_name == "SOUTH GLOUCESTERSHIRE"
replace GB66_enep = 2.463392 if GB66_district_name == "WEST GLOUCESTERSHIRE"
replace GB66_enep = 1.91783 if GB66_district_name == "GOOLE"
replace GB66_enep = 2.470897 if GB66_district_name == "GOSPORT AND FAREHAM"
replace GB66_enep = 1.54424 if GB66_district_name == "GOWER"
replace GB66_enep = 2.351159 if GB66_district_name == "GRANTHAM"
replace GB66_enep = 2.325985 if GB66_district_name == "GRAVESEND"
replace GB66_enep = 2.431218 if GB66_district_name == "GREENOCK"
replace GB66_enep = 1.837776 if GB66_district_name == "GREENWICH"
replace GB66_enep = 1.938049 if GB66_district_name == "GRIMSBY"
replace GB66_enep = 2.563694 if GB66_district_name == "GUILDFORD"
replace GB66_enep = 2.103737 if GB66_district_name == "HACKNEY CENTRAL"
replace GB66_enep = 2.402162 if GB66_district_name == "HALIFAX"
replace GB66_enep = 2.462909 if GB66_district_name == "HALTEMPRICE"
replace GB66_enep = 1.696024 if GB66_district_name == "HAMILTON"
replace GB66_enep = 1.752495 if GB66_district_name == "HAMMERSMITH NORTH"
replace GB66_enep = 2.448855 if GB66_district_name == "HAMPSTEAD"
replace GB66_enep = 2.667981 if GB66_district_name == "HARBOROUGH"
replace GB66_enep = 2.477849 if GB66_district_name == "HARROGATE"
replace GB66_enep = 2.577952 if GB66_district_name == "HARROW,CENTRAL"
replace GB66_enep = 2.495294 if GB66_district_name == "HARROW,EAST"
replace GB66_enep = 2.512321 if GB66_district_name == "HARROW,WEST"
replace GB66_enep = 1.932702 if GB66_district_name == "THE HARTLEPOOLS"
replace GB66_enep = 2.640695 if GB66_district_name == "HARWICH"
replace GB66_enep = 2.90547 if GB66_district_name == "HASTINGS"
replace GB66_enep = 1.942408 if GB66_district_name == "HAYES AND HARLINGTON"
replace GB66_enep = 2.563861 if GB66_district_name == "HEMEL HEMPSTEAD"
replace GB66_enep = 1.332385 if GB66_district_name == "HEMSWORTH"
replace GB66_enep = 2.359705 if GB66_district_name == "HENDON,NORTH"
replace GB66_enep = 2.737994 if GB66_district_name == "HENDON,SOUTH"
replace GB66_enep = 1.976746 if GB66_district_name == "HENLEY"
replace GB66_enep = 2.688348 if GB66_district_name == "HEREFORD"
replace GB66_enep = 1.99969 if GB66_district_name == "HERTFORD"
replace GB66_enep = 2.581606 if GB66_district_name == "EAST HERTFORDSHIRE"
replace GB66_enep = 2.552872 if GB66_district_name == "SOUTH WEST HERTFORDSHIRE"
replace GB66_enep = 2.548455 if GB66_district_name == "HESTON AND ISLEWORTH"
replace GB66_enep = 2.558603 if GB66_district_name == "HEXHAM"
replace GB66_enep = 2.502571 if GB66_district_name == "HEYWOOD AND ROYTON"
replace GB66_enep = 2.759478 if GB66_district_name == "HIGH PEAK"
replace GB66_enep = 1.966513 if GB66_district_name == "HITCHIN"
replace GB66_enep = 1.930444 if GB66_district_name == "HOLBORN AND ST.PANCRAS"
replace GB66_enep = 1.999929 if GB66_district_name == "HOLLAND WITH BOSTON"
replace GB66_enep = 2.481038 if GB66_district_name == "HONITON"
replace GB66_enep = 2.761579 if GB66_district_name == "HORNCASTLE"
replace GB66_enep = 1.996626 if GB66_district_name == "HORNCHURCH"
replace GB66_enep = 2.561965 if GB66_district_name == "HORNSEY"
replace GB66_enep = 2.652204 if GB66_district_name == "HORSHAM"
replace GB66_enep = 1.535228 if GB66_district_name == "HOUGHTON-LE-SPRING"
replace GB66_enep = 2.386548 if GB66_district_name == "HOVE"
replace GB66_enep = 2.639698 if GB66_district_name == "HOWDEN"
replace GB66_enep = 2.400824 if GB66_district_name == "HUDDERSFIELD,EAST"
replace GB66_enep = 2.817134 if GB66_district_name == "HUDDERSFIELD,WEST"
replace GB66_enep = 2.522905 if GB66_district_name == "HUNTINGDONSHIRE"
replace GB66_enep = 1.824955 if GB66_district_name == "HUYTON"
replace GB66_enep = 2.539247 if GB66_district_name == "ILFORD,NORTH"
replace GB66_enep = 2.425349 if GB66_district_name == "ILFORD,SOUTH"
replace GB66_enep = 1.72189 if GB66_district_name == "ILKESTON"
replace GB66_enep = 1.634989 if GB66_district_name == "INCE"
replace GB66_enep = 2.938532 if GB66_district_name == "INVERNESS"
replace GB66_enep = 2.446133 if GB66_district_name == "IPSWICH"
replace GB66_enep = 2.460919 if GB66_district_name == "THE ISLE OF ELY"
replace GB66_enep = 2.505424 if GB66_district_name == "ISLE OF THANET"
replace GB66_enep = 2.698596 if GB66_district_name == "ISLE OF WIGHT"
replace GB66_enep = 2.332731 if GB66_district_name == "ISLINGTON,EAST"
replace GB66_enep = 2.186213 if GB66_district_name == "ISLINGTON,NORTH"
replace GB66_enep = 2.037561 if GB66_district_name == "ISLINGTON,SOUTH WEST"
replace GB66_enep = 1.778907 if GB66_district_name == "JARROW"
replace GB66_enep = 1.980145 if GB66_district_name == "KEIGHLEY"
replace GB66_enep = 2.259296 if GB66_district_name == "KENSINGTON,NORTH"
replace GB66_enep = 2.058678 if GB66_district_name == "KENSINGTON,SOUTH"
replace GB66_enep = 2.394492 if GB66_district_name == "KETTERING"
replace GB66_enep = 2.10044 if GB66_district_name == "KIDDERMINSTER"
replace GB66_enep = 1.758188 if GB66_district_name == "KILMARNOCK"
replace GB66_enep = 1.995915 if GB66_district_name == "KING'S LYNN"
replace GB66_enep = 2.03265 if GB66_district_name == "KINGSTON-UPON-HULL EAST"
replace GB66_enep = 2.232604 if GB66_district_name == "KINGSTON-UPON-HULL NORTH"
replace GB66_enep = 1.838391 if GB66_district_name == "KINGSTON-UPON-HULL WEST"
replace GB66_enep = 2.508158 if GB66_district_name == "KINGSTON UPON THAMES"
replace GB66_enep = 2.240794 if GB66_district_name == "KINROSS AND WEST PERTHSHIRE"
replace GB66_enep = 2.240838 if GB66_district_name == "KIRKCALDY BURGHS"
replace GB66_enep = 2.611863 if GB66_district_name == "KNUTSFORD"
replace GB66_enep = 1.90276 if GB66_district_name == "LAMBETH,BRIXTON"
replace GB66_enep = 2.331263 if GB66_district_name == "LAMBETH,NORWOOD"
replace GB66_enep = 1.801979 if GB66_district_name == "LAMBETH,VAUXHALL"
replace GB66_enep = 2.363764 if GB66_district_name == "LANARK"
replace GB66_enep = 1.908944 if GB66_district_name == "NORTH LANARKSHIRE"
replace GB66_enep = 1.994512 if GB66_district_name == "LANCASTER"
replace GB66_enep = 1.898884 if GB66_district_name == "LEEDS,EAST"
replace GB66_enep = 1.964027 if GB66_district_name == "LEEDS,NORTH EAST"
replace GB66_enep = 1.9748 if GB66_district_name == "LEEDS,NORTH WEST"
replace GB66_enep = 1.791944 if GB66_district_name == "LEEDS,SOUTH"
replace GB66_enep = 1.68017 if GB66_district_name == "LEEDS,SOUTH EAST"
replace GB66_enep = 2.309172 if GB66_district_name == "LEEDS,WEST"
replace GB66_enep = 1.970015 if GB66_district_name == "LEEK"
replace GB66_enep = 2.365424 if GB66_district_name == "LEICESTER,NORTH EAST"
replace GB66_enep = 1.909385 if GB66_district_name == "LEICESTER,NORTH WEST"
replace GB66_enep = 1.924772 if GB66_district_name == "LEICESTER,SOUTH EAST"
replace GB66_enep = 1.941832 if GB66_district_name == "LEICESTER,SOUTH WEST"
replace GB66_enep = 1.755532 if GB66_district_name == "LEIGH"
replace GB66_enep = 2.608094 if GB66_district_name == "LEOMINSTER"
replace GB66_enep = 2.501524 if GB66_district_name == "LEWES"
replace GB66_enep = 1.992432 if GB66_district_name == "LEWISHAM,NORTH"
replace GB66_enep = 2.315739 if GB66_district_name == "LEWISHAM,SOUTH"
replace GB66_enep = 1.994843 if GB66_district_name == "LEWISHAM,WEST"
replace GB66_enep = 2.281775 if GB66_district_name == "LEYTON"
replace GB66_enep = 1.987346 if GB66_district_name == "LICHFIELD AND TAMWORTH"
replace GB66_enep = 1.946618 if GB66_district_name == "LINCOLN"
replace GB66_enep = 1.872218 if GB66_district_name == "LIVERPOOL,EDGE HILL"
replace GB66_enep = 1.631943 if GB66_district_name == "LIVERPOOL,EXCHANGE"
replace GB66_enep = 1.984864 if GB66_district_name == "LIVERPOOL,GARSTON"
replace GB66_enep = 1.933594 if GB66_district_name == "LIVERPOOL,KIRKDALE"
replace GB66_enep = 1.727449 if GB66_district_name == "LIVERPOOL,SCOTLAND"
replace GB66_enep = 1.965754 if GB66_district_name == "LIVERPOOL,TOXTETH"
replace GB66_enep = 1.958346 if GB66_district_name == "LIVERPOOL,WALTON"
replace GB66_enep = 2.611956 if GB66_district_name == "LIVERPOOL,WAVERTREE"
replace GB66_enep = 1.962791 if GB66_district_name == "LIVERPOOL,WEST DERBY"
replace GB66_enep = 1.833881 if GB66_district_name == "LLANELLI"
replace GB66_enep = 2.309291 if GB66_district_name == "CITIES OF LONDON AND WESTMINSTER"
replace GB66_enep = 1.948632 if GB66_district_name == "LONDONDERRY COUNTY"
replace GB66_enep = 2.46944 if GB66_district_name == "LOUGHBOROUGH"
replace GB66_enep = 2.638299 if GB66_district_name == "LOUTH"
replace GB66_enep = 2.353613 if GB66_district_name == "LOWESTOFT"
replace GB66_enep = 1.981202 if GB66_district_name == "LUDLOW"
replace GB66_enep = 2.315995 if GB66_district_name == "LUTON"
replace GB66_enep = 2.558067 if GB66_district_name == "MACCLESFIELD"
replace GB66_enep = 1.982674 if GB66_district_name == "MAIDSTONE"
replace GB66_enep = 2.413403 if GB66_district_name == "MALDON"
replace GB66_enep = 1.940785 if GB66_district_name == "MANCHESTER,ARDWICK"
replace GB66_enep = 2.360495 if GB66_district_name == "MANCHESTER,BLACKLEY"
replace GB66_enep = 1.703669 if GB66_district_name == "MANCHESTER,CHEETHAM"
replace GB66_enep = 1.63844 if GB66_district_name == "MANCHESTER,EXCHANGE"
replace GB66_enep = 1.921647 if GB66_district_name == "MANCHESTER,GORTON"
replace GB66_enep = 2.519111 if GB66_district_name == "MANCHESTER,MOSS SIDE"
replace GB66_enep = 1.931204 if GB66_district_name == "MANCHESTER,OPENSHAW"
replace GB66_enep = 2.635483 if GB66_district_name == "MANCHESTER,WITHINGTON"
replace GB66_enep = 2.365492 if GB66_district_name == "MANCHESTER,WYTHENSHAWE"
replace GB66_enep = 2.095578 if GB66_district_name == "MANSFIELD"
replace GB66_enep = 2.586717 if GB66_district_name == "MELTON"
replace GB66_enep = 1.989508 if GB66_district_name == "MERIDEN"
replace GB66_enep = 2.924421 if GB66_district_name == "MERIONETH"
replace GB66_enep = 1.701392 if GB66_district_name == "MERTHYR TYDFIL"
replace GB66_enep = 1.999775 if GB66_district_name == "MERTON AND MORDEN"
replace GB66_enep = 1.597563 if GB66_district_name == "MIDDLESBROUGH,EAST"
replace GB66_enep = 1.98404 if GB66_district_name == "MIDDLESBROUGH,WEST"
replace GB66_enep = 2.683328 if GB66_district_name == "MIDDLETON AND PRESTWICK"
replace GB66_enep = 2.379343 if GB66_district_name == "MIDLOTHIAN"
replace GB66_enep = 2.400814 if GB66_district_name == "MITCHAM"
replace GB66_enep = 1.994049 if GB66_district_name == "MONMOUTH"
replace GB66_enep = 3.239696 if GB66_district_name == "MONTGOMERY"
replace GB66_enep = 2.634385 if GB66_district_name == "MORAY AND NAIRN"
replace GB66_enep = 2.553578 if GB66_district_name == "MORECAMBE AND LONSDALE"
replace GB66_enep = 1.616389 if GB66_district_name == "MORPETH"
replace GB66_enep = 2.020686 if GB66_district_name == "MOTHERWELL"
replace GB66_enep = 2.712992 if GB66_district_name == "NANTWICH"
replace GB66_enep = 1.50847 if GB66_district_name == "NEATH"
replace GB66_enep = 2.508374 if GB66_district_name == "NELSON AND COLNE"
replace GB66_enep = 1.964563 if GB66_district_name == "NEWARK"
replace GB66_enep = 2.65003 if GB66_district_name == "NEWBURY"
replace GB66_enep = 1.894412 if GB66_district_name == "NEWCASTLE UNDER LYME"
replace GB66_enep = 1.574757 if GB66_district_name == "NEWCASTLE-UPON-TYNE CENTRAL"
replace GB66_enep = 1.926437 if GB66_district_name == "NEWCASTLE-UPON-TYNE EAST"
replace GB66_enep = 2.36567 if GB66_district_name == "NEWCASTLE-UPON-TYNE NORTH"
replace GB66_enep = 1.879366 if GB66_district_name == "NEWCASTLE-UPONTYNE WEST"
replace GB66_enep = 2.615774 if GB66_district_name == "NEW FOREST"
replace GB66_enep = 1.926357 if GB66_district_name == "NEWPORT"
replace GB66_enep = 1.876728 if GB66_district_name == "NEWTON"
replace GB66_enep = 1.985448 if GB66_district_name == "CENTRAL NORFOLK"
replace GB66_enep = 1.999349 if GB66_district_name == "NORTH NORFOLK"
replace GB66_enep = 2.440532 if GB66_district_name == "SOUTH NORFOLK"
replace GB66_enep = 1.999019 if GB66_district_name == "SOUTH WEST NORFOLK"
replace GB66_enep = 1.563852 if GB66_district_name == "NORMANTON"
replace GB66_enep = 1.964353 if GB66_district_name == "NORTHAMPTON"
replace GB66_enep = 1.993562 if GB66_district_name == "SOUTH NORTHAMPTONSHIRE"
replace GB66_enep = 2.482212 if GB66_district_name == "NORTH FYLDE"
replace GB66_enep = 2.480344 if GB66_district_name == "NORTHWICH"
replace GB66_enep = 1.822797 if GB66_district_name == "NORWICH,NORTH"
replace GB66_enep = 1.98176 if GB66_district_name == "NORWICH,SOUTH"
replace GB66_enep = 1.939131 if GB66_district_name == "NOTTINGHAM,CENTRAL"
replace GB66_enep = 1.972316 if GB66_district_name == "NOTTINGHAM,NORTH"
replace GB66_enep = 1.999916 if GB66_district_name == "NOTTINGHAM,SOUTH"
replace GB66_enep = 1.950656 if GB66_district_name == "NOTTINGHAM,WEST"
replace GB66_enep = 2.427908 if GB66_district_name == "NUNEATON"
replace GB66_enep = 1.819691 if GB66_district_name == "OGMORE"
replace GB66_enep = 1.991625 if GB66_district_name == "OLDBURY AND HALESOWEN"
replace GB66_enep = 2.506829 if GB66_district_name == "OLDHAM,EAST"
replace GB66_enep = 1.904013 if GB66_district_name == "OLDHAM,WEST"
replace GB66_enep = 2.30673 if GB66_district_name == "ORKNEY AND ZETLAND"
replace GB66_enep = 1.940281 if GB66_district_name == "ORMSKIRK"
replace GB66_enep = 2.408249 if GB66_district_name == "ORPINGTON"
replace GB66_enep = 2.598688 if GB66_district_name == "OSWESTRY"
replace GB66_enep = 2.471854 if GB66_district_name == "OXFORD"
replace GB66_enep = 2.200166 if GB66_district_name == "PADDINGTON,NORTH"
replace GB66_enep = 2.403553 if GB66_district_name == "PADDINGTON,SOUTH"
replace GB66_enep = 2.262608 if GB66_district_name == "PAISLEY"
replace GB66_enep = 2.655299 if GB66_district_name == "PEMBROKE"
replace GB66_enep = 2.157718 if GB66_district_name == "PENISTONE"
replace GB66_enep = 2.5095 if GB66_district_name == "PENRITH AND THE BORDERS"
replace GB66_enep = 2.373734 if GB66_district_name == "PERTH AND EAST PERTHSHIRE"
replace GB66_enep = 2.322577 if GB66_district_name == "PETERBOROUGH"
replace GB66_enep = 2.581018 if GB66_district_name == "PETERSFIELD"
replace GB66_enep = 1.9999 if GB66_district_name == "PLYMOUTH,DEVONPORT"
replace GB66_enep = 1.983869 if GB66_district_name == "PLYMOUTH,SUTTON"
replace GB66_enep = 1.513148 if GB66_district_name == "PONTEFRACT"
replace GB66_enep = 1.571954 if GB66_district_name == "PONTYPOOL"
replace GB66_enep = 1.602098 if GB66_district_name == "PONTYPRIDD"
replace GB66_enep = 2.591253 if GB66_district_name == "POOLE"
replace GB66_enep = 1.354742 if GB66_district_name == "POPLAR"
replace GB66_enep = 2.554068 if GB66_district_name == "PORTSMOUTH,LANGSTON"
replace GB66_enep = 1.913243 if GB66_district_name == "PORTSMOUTH,SOUTH"
replace GB66_enep = 1.997698 if GB66_district_name == "PORTSMOUTH,WEST"
replace GB66_enep = 1.992952 if GB66_district_name == "PRESTON,NORTH"
replace GB66_enep = 1.98964 if GB66_district_name == "PRESTON,SOUTH"
replace GB66_enep = 2.626346 if GB66_district_name == "PUDSEY"
replace GB66_enep = 2.239885 if GB66_district_name == "READING"
replace GB66_enep = 2.696236 if GB66_district_name == "REIGATE"
replace GB66_enep = 2.433176 if GB66_district_name == "EAST RENFREWSHIRE"
replace GB66_enep = 1.985217 if GB66_district_name == "WEST RENFREWSHIRE"
replace GB66_enep = 1.622357 if GB66_district_name == "RHONDDA,EAST"
replace GB66_enep = 1.67086 if GB66_district_name == "RHONDDA,WEST"
replace GB66_enep = 2.543661 if GB66_district_name == "RICHMOND (SURREY)"
replace GB66_enep = 2.401876 if GB66_district_name == "RICHMOND (YORKSHIRE)"
replace GB66_enep = 2.581767 if GB66_district_name == "RIPON"
replace GB66_enep = 2.551394 if GB66_district_name == "ROCHDALE"
replace GB66_enep = 1.996498 if GB66_district_name == "ROCHESTER AND CHATHAM"
replace GB66_enep = 1.957 if GB66_district_name == "ROMFORD"
replace GB66_enep = 2.897464 if GB66_district_name == "ROSS AND CROMARTY"
replace GB66_enep = 1.976978 if GB66_district_name == "ROSSENDALE"
replace GB66_enep = 1.731783 if GB66_district_name == "ROTHERHAM"
replace GB66_enep = 1.553151 if GB66_district_name == "ROTHER VALLEY"
replace GB66_enep = 1.818478 if GB66_district_name == "ROWLEY REGIS AND TIPTON"
replace GB66_enep = 2.544279 if GB66_district_name == "ROXBURGH, SELKIRK AND PEEBLES"
replace GB66_enep = 2.036414 if GB66_district_name == "RUGBY"
replace GB66_enep = 2.506646 if GB66_district_name == "RUISLIP-NORTHWOOD"
replace GB66_enep = 2.556352 if GB66_district_name == "RUNCORN"
replace GB66_enep = 2.372313 if GB66_district_name == "RUSHCLIFFE"
replace GB66_enep = 2.207679 if GB66_district_name == "RUTHERGLEN"
replace GB66_enep = 1.990829 if GB66_district_name == "RUTLAND AND STAMFORD"
replace GB66_enep = 2.329534 if GB66_district_name == "RYE"
replace GB66_enep = 2.500758 if GB66_district_name == "SAFFRON WALDON"
replace GB66_enep = 2.425711 if GB66_district_name == "ST.ALBANS"
replace GB66_enep = 1.706104 if GB66_district_name == "ST.HELENS"
replace GB66_enep = 2.911385 if GB66_district_name == "ST.IVES"
replace GB66_enep = 2.349177 if GB66_district_name == "ST.MARYLEBONE"
replace GB66_enep = 1.939245 if GB66_district_name == "ST.PANCRAS NORTH"
replace GB66_enep = 1.789161 if GB66_district_name == "SALFORD,EAST"
replace GB66_enep = 1.934482 if GB66_district_name == "SALFORD,WEST"
replace GB66_enep = 1.979885 if GB66_district_name == "SALISBURY"
replace GB66_enep = 2.891887 if GB66_district_name == "SCARBOROUGH AND WHITBY"
replace GB66_enep = 1.841814 if GB66_district_name == "SEDGEFIELD"
replace GB66_enep = 2.570674 if GB66_district_name == "SEVENOAKS"
replace GB66_enep = 1.541421 if GB66_district_name == "SHEFFIELD,ATTERCLIFFE"
replace GB66_enep = 1.607393 if GB66_district_name == "SHEFFIELD,BRIGHTSIDE"
replace GB66_enep = 2.529634 if GB66_district_name == "SHEFFIELD,HALLAM"
replace GB66_enep = 1.987345 if GB66_district_name == "SHEFFIELD,HEELEY"
replace GB66_enep = 1.772595 if GB66_district_name == "SHEFFIELD,HILLSBOROUGH"
replace GB66_enep = 1.487774 if GB66_district_name == "SHEFFIELD,PARK"
replace GB66_enep = 2.439049 if GB66_district_name == "SHIPLEY"
replace GB66_enep = 1.763464 if GB66_district_name == "SHOREDITCH AND FINSBURY"
replace GB66_enep = 2.662893 if GB66_district_name == "SHREWSBURY"
replace GB66_enep = 2.756507 if GB66_district_name == "SKIPTON"
replace GB66_enep = 2.03811 if GB66_district_name == "SMETHWICK"
replace GB66_enep = 1.820649 if GB66_district_name == "SOLIHULL"
replace GB66_enep = 2.440455 if GB66_district_name == "NORTH SOMERSET"
replace GB66_enep = 2.2501 if GB66_district_name == "SOUTHALL"
replace GB66_enep = 1.33275453237 if GB66_district_name == "SOUTHAMPTON,ITCHEN"
replace GB66_enep = 2.323839 if GB66_district_name == "SOUTHAMPTON,TEST"
replace GB66_enep = 2.435311 if GB66_district_name == "SOUTHEND EAST"
replace GB66_enep = 2.623214 if GB66_district_name == "SOUTHEND WEST"
replace GB66_enep = 2.497737 if GB66_district_name == "SOUTH FYLDE"
replace GB66_enep = 2.534683 if GB66_district_name == "SOUTHGATE"
replace GB66_enep = 2.598654 if GB66_district_name == "SOUTHPORT"
replace GB66_enep = 1.840206 if GB66_district_name == "SOUTH SHIELDS"
replace GB66_enep = 1.693688 if GB66_district_name == "SOUTHWARK"
replace GB66_enep = 1.962727 if GB66_district_name == "SOWERBY"
replace GB66_enep = 2.540341 if GB66_district_name == "SPELTHORNE"
replace GB66_enep = 2.421368 if GB66_district_name == "STAFFORD AND STONE"
replace GB66_enep = 1.962529 if GB66_district_name == "STALYBRIDGE AND HYDE"
replace GB66_enep = 1.634161 if GB66_district_name == "STEPNEY"
replace GB66_enep = 2.527238 if GB66_district_name == "STIRLING AND FALKIRK"
replace GB66_enep = 2.460374 if GB66_district_name == "CLACKMANNAN AND EAST STIRLINGSHIRE"
replace GB66_enep = 2.715388 if GB66_district_name == "WEST STIRLINGSHIRE"
replace GB66_enep = 1.986088 if GB66_district_name == "STOCKPORT NORTH"
replace GB66_enep = 1.973091 if GB66_district_name == "STOCKPORT SOUTH"
replace GB66_enep = 1.976267 if GB66_district_name == "STOCKTON-ON-TEES"
replace GB66_enep = 1.862238 if GB66_district_name == "STOKE NEWINGTON AND HACKNEY NORTH"
replace GB66_enep = 1.769456 if GB66_district_name == "STOKE ON TRENT,CENTRAL"
replace GB66_enep = 1.687133 if GB66_district_name == "STOKE ON TRENT,NORTH"
replace GB66_enep = 2.027267 if GB66_district_name == "STOKE ON TRENT,SOUTH"
replace GB66_enep = 2.662731 if GB66_district_name == "STRATFORD"
replace GB66_enep = 2.483539 if GB66_district_name == "STRETFORD"
replace GB66_enep = 2.662423 if GB66_district_name == "STROUD"
replace GB66_enep = 2.469599 if GB66_district_name == "SUDBURY AND WOODBRIDGE"
replace GB66_enep = 1.911355 if GB66_district_name == "SUNDERLAND NORTH"
replace GB66_enep = 1.956298 if GB66_district_name == "SUNDERLAND SOUTH"
replace GB66_enep = 1.951825 if GB66_district_name == "SURBITON"
replace GB66_enep = 2.447582 if GB66_district_name == "EAST SURREY"
replace GB66_enep = 2.58066 if GB66_district_name == "SUTTON AND CHEAM"
replace GB66_enep = 2.574578 if GB66_district_name == "SUTTON COLDFIELD"
replace GB66_enep = 1.673492 if GB66_district_name == "SWANSEA,EAST"
replace GB66_enep = 1.967846 if GB66_district_name == "SWANSEA,WEST"
replace GB66_enep = 1.956084 if GB66_district_name == "SWINDON"
replace GB66_enep = 2.460682 if GB66_district_name == "TAUNTON"
replace GB66_enep = 2.656877 if GB66_district_name == "TAVISTOCK"
replace GB66_enep = 1.89803 if GB66_district_name == "THIRSK AND MALTON"
replace GB66_enep = 2.195854 if GB66_district_name == "THURROCK"
replace GB66_enep = 2.71372 if GB66_district_name == "TIVERTON"
replace GB66_enep = 2.67489 if GB66_district_name == "TONBRIDGE"
replace GB66_enep = 2.670681 if GB66_district_name == "TORQUAY"
replace GB66_enep = 2.592261 if GB66_district_name == "TORRINGTON"
replace GB66_enep = 2.69751 if GB66_district_name == "TOTNES"
replace GB66_enep = 1.828917 if GB66_district_name == "TOTTENHAM"
replace GB66_enep = 2.847166 if GB66_district_name == "TRURO"
replace GB66_enep = 2.654531 if GB66_district_name == "TWICKENHAM"
replace GB66_enep = 2.258684 if GB66_district_name == "TYNEMOUTH"
replace GB66_enep = 1.995959 if GB66_district_name == "ULSTER MID"
replace GB66_enep = 2.446356 if GB66_district_name == "UXBRIDGE"
replace GB66_enep = 1.826884 if GB66_district_name == "WAKEFIELD"
replace GB66_enep = 2.557997 if GB66_district_name == "WALLASEY"
replace GB66_enep = 1.830629 if GB66_district_name == "WALLSEND"
replace GB66_enep = 1.833575 if GB66_district_name == "WALSALL,NORTH"
replace GB66_enep = 1.990588 if GB66_district_name == "WALSALL,SOUTH"
replace GB66_enep = 2.394257 if GB66_district_name == "WALTHAMSTOW,EAST"
replace GB66_enep = 2.196388 if GB66_district_name == "WALTHAMSTOW,WEST"
replace GB66_enep = 2.283621 if GB66_district_name == "WANDSWORTH,CENTRAL"
replace GB66_enep = 2.288537 if GB66_district_name == "WANDSWORTH,CLAPHAM"
replace GB66_enep = 2.39125 if GB66_district_name == "WANDSWORTH,PUTNEY"
replace GB66_enep = 1.983011 if GB66_district_name == "WANDSWORTH,STREATHAM"
replace GB66_enep = 2.41612 if GB66_district_name == "WANSTEAD AND WOODFORD"
replace GB66_enep = 2.018723 if GB66_district_name == "WARRINGTON"
replace GB66_enep = 2.429946 if GB66_district_name == "WARWICK AND LEAMINGTON"
replace GB66_enep = 1.984796 if GB66_district_name == "WATFORD"
replace GB66_enep = 1.93932 if GB66_district_name == "WEDNESBURY"
replace GB66_enep = 1.995529 if GB66_district_name == "WELLINGBOROUGH"
replace GB66_enep = 2.798095 if GB66_district_name == "WELLS"
replace GB66_enep = 2.574144 if GB66_district_name == "WEMBLEY NORTH"
replace GB66_enep = 2.52227 if GB66_district_name == "WEMBLEY SOUTH"
replace GB66_enep = 1.951708 if GB66_district_name == "WEST BROMWICH"
replace GB66_enep = 2.720987 if GB66_district_name == "WESTBURY"
replace GB66_enep = 2.229846 if GB66_district_name == "WESTERN ISLES"
replace GB66_enep = 2.041754 if GB66_district_name == "WEST HAM NORTH"
replace GB66_enep = 1.608945 if GB66_district_name == "WEST HAM SOUTH"
replace GB66_enep = 1.835577 if GB66_district_name == "WESTHOUGHTON"
replace GB66_enep = 2.430554 if GB66_district_name == "WEST LOTHIAN"
replace GB66_enep = 2.645957 if GB66_district_name == "WESTMORLAND"
replace GB66_enep = 2.558961 if GB66_district_name == "WESTON SUPER MARE"
replace GB66_enep = 1.891253 if GB66_district_name == "WHITEHAVEN"
replace GB66_enep = 1.912516 if GB66_district_name == "WIDNES"
replace GB66_enep = 1.685615 if GB66_district_name == "WIGAN"
replace GB66_enep = 2.269645 if GB66_district_name == "WILLESDEN,EAST"
replace GB66_enep = 1.817429 if GB66_district_name == "WILLESDEN,WEST"
replace GB66_enep = 2.59315 if GB66_district_name == "WIMBLEDON"
replace GB66_enep = 2.55809 if GB66_district_name == "WINCHESTER"
replace GB66_enep = 2.585791 if GB66_district_name == "WINDSOR"
replace GB66_enep = 2.657744 if GB66_district_name == "WIRRAL"
replace GB66_enep = 2.559347 if GB66_district_name == "WOKING"
replace GB66_enep = 2.63374 if GB66_district_name == "WOKINGHAM"
replace GB66_enep = 1.892725 if GB66_district_name == "WOLVERHAMPTON NORTH EAST"
replace GB66_enep = 1.936441 if GB66_district_name == "WOLVERHAMPTON SOUTH WEST"
replace GB66_enep = 1.910823 if GB66_district_name == "WOOD GREEN"
replace GB66_enep = 1.684103 if GB66_district_name == "WOOLWICH,EAST"
replace GB66_enep = 2.06509 if GB66_district_name == "WOOLWICH,WEST"
replace GB66_enep = 1.990135 if GB66_district_name == "WORCESTER"
replace GB66_enep = 2.583594 if GB66_district_name == "SOUTH WORCESTERSHIRE"
replace GB66_enep = 1.867587 if GB66_district_name == "WORKINGTON"
replace GB66_enep = 2.329266 if GB66_district_name == "WORTHING"
replace GB66_enep = 1.999339 if GB66_district_name == "THE WREKIN"
replace GB66_enep = 2.376575 if GB66_district_name == "WREXHAM"
replace GB66_enep = 2.473354 if GB66_district_name == "WYCOMBE"
replace GB66_enep = 1.999338 if GB66_district_name == "YARMOUTH"
replace GB66_enep = 2.694178 if GB66_district_name == "YEOVIL"
replace GB66_enep = 1.978293 if GB66_district_name == "YORK"


******************************************************
** INCUMBENT PARTY REELECTED: 1966 GENERAL ELECTION **
******************************************************

gen GB66_reelected = .

replace GB66_reelected = 1 if GB66_district_name == "ABERAVON"
replace GB66_reelected = 1 if GB66_district_name == "ABERDARE"
replace GB66_reelected = 1 if GB66_district_name == "ABERDEEN NORTH"
replace GB66_reelected = 0 if GB66_district_name == "ABERDEEN SOUTH"
replace GB66_reelected = 1 if GB66_district_name == "EAST ABERDEENSHIRE"
replace GB66_reelected = 0 if GB66_district_name == "WEST ABERDEENSHIRE"
replace GB66_reelected = 1 if GB66_district_name == "ABERTILLERY"
replace GB66_reelected = 1 if GB66_district_name == "ABINGDON"
replace GB66_reelected = 1 if GB66_district_name == "ACCRINGTON"
replace GB66_reelected = 1 if GB66_district_name == "ACTON"
replace GB66_reelected = 1 if GB66_district_name == "ALDERSHOT"
replace GB66_reelected = 1 if GB66_district_name == "ALTRINCHAM AND SALE"
replace GB66_reelected = 1 if GB66_district_name == "ANGLESEY"
replace GB66_reelected = 1 if GB66_district_name == "NORTH ANGUS AND MEARNS"
replace GB66_reelected = 1 if GB66_district_name == "SOUTH ANGUS"
replace GB66_reelected = 1 if GB66_district_name == "ANTRIM NORTH"
replace GB66_reelected = 1 if GB66_district_name == "ANTRIM SOUTH"
replace GB66_reelected = 1 if GB66_district_name == "ARGYLL"
replace GB66_reelected = 1 if GB66_district_name == "ARMAGH"
replace GB66_reelected = 1 if GB66_district_name == "ARUNDEL AND SHOREHAM"
replace GB66_reelected = 1 if GB66_district_name == "ASHFIELD"
replace GB66_reelected = 1 if GB66_district_name == "ASHFORD"
replace GB66_reelected = 1 if GB66_district_name == "ASHTON UNDER LYNE"
replace GB66_reelected = 1 if GB66_district_name == "AYLESBURY"
replace GB66_reelected = 1 if GB66_district_name == "AYR"
replace GB66_reelected = 1 if GB66_district_name == "CENTRAL AYRSHIRE"
replace GB66_reelected = 1 if GB66_district_name == "BUTE AND NORTH AYRSHIRE"
replace GB66_reelected = 1 if GB66_district_name == "SOUTH AYRSHIRE"
replace GB66_reelected = 1 if GB66_district_name == "BANBURY"
replace GB66_reelected = 1 if GB66_district_name == "BANFF"
replace GB66_reelected = 1 if GB66_district_name == "BARKING"
replace GB66_reelected = 1 if GB66_district_name == "BARKSTON ASH"
replace GB66_reelected = 1 if GB66_district_name == "BARNET"
replace GB66_reelected = 1 if GB66_district_name == "BARNSLEY"
replace GB66_reelected = 1 if GB66_district_name == "BARONS COURT"
replace GB66_reelected = 1 if GB66_district_name == "BARROW IN FURNESS"
replace GB66_reelected = 1 if GB66_district_name == "BARRY"
replace GB66_reelected = 1 if GB66_district_name == "BASINGSTOKE"
replace GB66_reelected = 1 if GB66_district_name == "BASSETLAW"
replace GB66_reelected = 1 if GB66_district_name == "BATH"
replace GB66_reelected = 1 if GB66_district_name == "BATLEY AND MORLEY"
replace GB66_reelected = 1 if GB66_district_name == "BATTERSEA,NORTH"
replace GB66_reelected = 1 if GB66_district_name == "BATTERSEA,SOUTH"
replace GB66_reelected = 0 if GB66_district_name == "BEBINGTON"
replace GB66_reelected = 1 if GB66_district_name == "BECKENHAM"
replace GB66_reelected = 0 if GB66_district_name == "BEDFORD"
replace GB66_reelected = 1 if GB66_district_name == "MID-BEDFORDSHIRE"
replace GB66_reelected = 0 if GB66_district_name == "SOUTH BEDFORDSHIRE"
replace GB66_reelected = 1 if GB66_district_name == "BEDWELLTY"
replace GB66_reelected = 1 if GB66_district_name == "BELFAST EAST"
replace GB66_reelected = 1 if GB66_district_name == "BELFAST NORTH"
replace GB66_reelected = 1 if GB66_district_name == "BELFAST SOUTH"
replace GB66_reelected = 0 if GB66_district_name == "BELFAST WEST"
replace GB66_reelected = 1 if GB66_district_name == "BELPER"
replace GB66_reelected = 1 if GB66_district_name == "BERMONDSEY"
replace GB66_reelected = 0 if GB66_district_name == "BERWICK AND EAST LOTHIAN"
replace GB66_reelected = 1 if GB66_district_name == "BERWICK UPON TWEED"
replace GB66_reelected = 1 if GB66_district_name == "BETHNAL GREEN"
replace GB66_reelected = 1 if GB66_district_name == "BEXLEY"
replace GB66_reelected = 0 if GB66_district_name == "BILLERICAY"
replace GB66_reelected = 1 if GB66_district_name == "BILSTON"
replace GB66_reelected = 1 if GB66_district_name == "BIRKENHEAD"
replace GB66_reelected = 1 if GB66_district_name == "BIRMINGHAM,ALL SAINTS"
replace GB66_reelected = 1 if GB66_district_name == "BIRMINGHAM,ASTON"
replace GB66_reelected = 1 if GB66_district_name == "BIRMINGHAM,EDGBASTON"
replace GB66_reelected = 1 if GB66_district_name == "BIRMINGHAM,HALL GREEN"
replace GB66_reelected = 1 if GB66_district_name == "BIRMINGHAM,HANDSWORTH"
replace GB66_reelected = 1 if GB66_district_name == "BIRMINGHAM,LADYWOOD"
replace GB66_reelected = 1 if GB66_district_name == "BIRMINGHAM,NORTHFIED"
replace GB66_reelected = 0 if GB66_district_name == "BIRMINGHAM,PERRY BARR"
replace GB66_reelected = 1 if GB66_district_name == "BIRMINGHAM,SELLY OAK"
replace GB66_reelected = 1 if GB66_district_name == "BIRMINGHAM,SMALL HEATH"
replace GB66_reelected = 1 if GB66_district_name == "BIRMINGHAM,SPARKBROOK"
replace GB66_reelected = 1 if GB66_district_name == "BIRMINGHAM,STECHFORD"
replace GB66_reelected = 1 if GB66_district_name == "BIRMINGHAM,YARDLEY"
replace GB66_reelected = 1 if GB66_district_name == "BISHOP AUCKLAND"
replace GB66_reelected = 1 if GB66_district_name == "BLACKBURN"
replace GB66_reelected = 1 if GB66_district_name == "BLACKPOOL,NORTH"
replace GB66_reelected = 1 if GB66_district_name == "BLACKPOOL,SOUTH"
replace GB66_reelected = 1 if GB66_district_name == "BLAYDON"
replace GB66_reelected = 1 if GB66_district_name == "BLYTH"
replace GB66_reelected = 1 if GB66_district_name == "BODMIN"
replace GB66_reelected = 1 if GB66_district_name == "BOLSOVER"
replace GB66_reelected = 1 if GB66_district_name == "BOLTON,EAST"
replace GB66_reelected = 1 if GB66_district_name == "BOLTON,WEST"
replace GB66_reelected = 1 if GB66_district_name == "BOOTLE"
replace GB66_reelected = 1 if GB66_district_name == "BOSWORTH"
replace GB66_reelected = 1 if GB66_district_name == "BOTHWELL"
replace GB66_reelected = 1 if GB66_district_name == "BOURNEMOUTH EAST AND CHRISTCHURCH"
replace GB66_reelected = 1 if GB66_district_name == "BOURNEMOUTH WEST"
replace GB66_reelected = 1 if GB66_district_name == "BRADFORD,EAST"
replace GB66_reelected = 1 if GB66_district_name == "BRADFORD,NORTH"
replace GB66_reelected = 1 if GB66_district_name == "BRADFORD,SOUTH"
replace GB66_reelected = 0 if GB66_district_name == "BRADFORD,WEST"
replace GB66_reelected = 1 if GB66_district_name == "BRECON AND RADNOR"
replace GB66_reelected = 0 if GB66_district_name == "BRENTFORD AND CHISWICK"
replace GB66_reelected = 1 if GB66_district_name == "BRIDGWATER"
replace GB66_reelected = 1 if GB66_district_name == "BRIDLINGTON"
replace GB66_reelected = 1 if GB66_district_name == "BRIERLEY HILL"
replace GB66_reelected = 1 if GB66_district_name == "BRIGG"
replace GB66_reelected = 1 if GB66_district_name == "BRIGHOUSE AND SPENBOROUGH"
replace GB66_reelected = 1 if GB66_district_name == "BRIGHTON,KEMPTOWN"
replace GB66_reelected = 1 if GB66_district_name == "BRIGHTON,PAVILION"
replace GB66_reelected = 1 if GB66_district_name == "BRISTOL,CENTRAL"
replace GB66_reelected = 0 if GB66_district_name == "BRISTOL,NORTH EAST"
replace GB66_reelected = 0 if GB66_district_name == "BRISTOL,NORTH WEST"
replace GB66_reelected = 1 if GB66_district_name == "BRISTOL,SOUTH"
replace GB66_reelected = 1 if GB66_district_name == "BRISTOL,SOUTH EAST"
replace GB66_reelected = 1 if GB66_district_name == "BRISTOL,WEST"
replace GB66_reelected = 1 if GB66_district_name == "BROMLEY"
replace GB66_reelected = 1 if GB66_district_name == "BROMSGROVE"
replace GB66_reelected = 1 if GB66_district_name == "BUCKINGHAM"
replace GB66_reelected = 1 if GB66_district_name == "SOUTH BUCKINGHAMSHIRE"
replace GB66_reelected = 1 if GB66_district_name == "BURNLEY"
replace GB66_reelected = 1 if GB66_district_name == "BURTON"
replace GB66_reelected = 1 if GB66_district_name == "BURY AND RADCLIFFE"
replace GB66_reelected = 1 if GB66_district_name == "BURY ST.EDMUNDS"
replace GB66_reelected = 1 if GB66_district_name == "CAERNARVON"
replace GB66_reelected = 1 if GB66_district_name == "CAERPHILLY"
replace GB66_reelected = 0 if GB66_district_name == "CAITHNESS AND SUTHERLAND"
replace GB66_reelected = 1 if GB66_district_name == "CAMBERWELL,DULWICH"
replace GB66_reelected = 1 if GB66_district_name == "CAMBERWELL,PECKHAM"
replace GB66_reelected = 0 if GB66_district_name == "CAMBRIDGE"
replace GB66_reelected = 1 if GB66_district_name == "CAMBRIDGESHIRE"
replace GB66_reelected = 1 if GB66_district_name == "CANNOCK"
replace GB66_reelected = 1 if GB66_district_name == "CANTERBURY"
replace GB66_reelected = 0 if GB66_district_name == "CARDIFF,NORTH"
replace GB66_reelected = 1 if GB66_district_name == "CARDIFF,SOUTH EAST"
replace GB66_reelected = 1 if GB66_district_name == "CARDIFF,WEST"
replace GB66_reelected = 0 if GB66_district_name == "CARDIGAN"
replace GB66_reelected = 1 if GB66_district_name == "CARLISLE"
replace GB66_reelected = 1 if GB66_district_name == "CARLTON"
replace GB66_reelected = 1 if GB66_district_name == "CARMARTHEN"
replace GB66_reelected = 1 if GB66_district_name == "CARSHALTON"
replace GB66_reelected = 0 if GB66_district_name == "CHEADLE"
replace GB66_reelected = 1 if GB66_district_name == "CHELMSFORD"
replace GB66_reelected = 1 if GB66_district_name == "CHELSEA"
replace GB66_reelected = 1 if GB66_district_name == "CHELTENHAM"
replace GB66_reelected = 1 if GB66_district_name == "CHERTSEY"
replace GB66_reelected = 1 if GB66_district_name == "CITY OF CHESTER"
replace GB66_reelected = 1 if GB66_district_name == "CHESTERFIELD"
replace GB66_reelected = 1 if GB66_district_name == "CHESTER-LE-STREET"
replace GB66_reelected = 1 if GB66_district_name == "CHICHESTER"
replace GB66_reelected = 1 if GB66_district_name == "CHIGWELL"
replace GB66_reelected = 1 if GB66_district_name == "CHIPPENHAM"
replace GB66_reelected = 0 if GB66_district_name == "CHISLEHURST"
replace GB66_reelected = 1 if GB66_district_name == "CHORLEY"
replace GB66_reelected = 1 if GB66_district_name == "CIRENCESTER AND TEWKESBURY"
replace GB66_reelected = 1 if GB66_district_name == "CLEVELAND"
replace GB66_reelected = 1 if GB66_district_name == "CLITHEROE"
replace GB66_reelected = 1 if GB66_district_name == "COATBRIDGE AND AIRDRIE"
replace GB66_reelected = 1 if GB66_district_name == "COLCHESTER"
replace GB66_reelected = 0 if GB66_district_name == "COLNE VALLEY"
replace GB66_reelected = 1 if GB66_district_name == "CONSETT"
replace GB66_reelected = 0 if GB66_district_name == "CONWAY"
replace GB66_reelected = 0 if GB66_district_name == "NORTH CORNWALL"
replace GB66_reelected = 1 if GB66_district_name == "COVENTRY,EAST"
replace GB66_reelected = 1 if GB66_district_name == "COVENTRY,NORTH"
replace GB66_reelected = 1 if GB66_district_name == "COVENTRY,SOUTH"
replace GB66_reelected = 1 if GB66_district_name == "CREWE"
replace GB66_reelected = 1 if GB66_district_name == "CROSBY"
replace GB66_reelected = 1 if GB66_district_name == "CROYDON,NORTH EAST"
replace GB66_reelected = 1 if GB66_district_name == "CROYDON,NORTH WEST"
replace GB66_reelected = 0 if GB66_district_name == "CROYDON,SOUTH"
replace GB66_reelected = 1 if GB66_district_name == "DAGENHAM"
replace GB66_reelected = 1 if GB66_district_name == "DARLINGTON"
replace GB66_reelected = 1 if GB66_district_name == "DARTFORD"
replace GB66_reelected = 1 if GB66_district_name == "DARWEN"
replace GB66_reelected = 1 if GB66_district_name == "DEARNE VALLEY"
replace GB66_reelected = 1 if GB66_district_name == "DENBIGH"
replace GB66_reelected = 1 if GB66_district_name == "DEPTFORD"
replace GB66_reelected = 1 if GB66_district_name == "DERBY NORTH"
replace GB66_reelected = 1 if GB66_district_name == "DERBY SOUTH"
replace GB66_reelected = 1 if GB66_district_name == "NORTH EAST DERBYSHIRE"
replace GB66_reelected = 1 if GB66_district_name == "SOUTH EAST DERBYSHIRE"
replace GB66_reelected = 1 if GB66_district_name == "WEST DERBYSHIRE"
replace GB66_reelected = 1 if GB66_district_name == "DEVIZES"
replace GB66_reelected = 1 if GB66_district_name == "NORTH DEVON"
replace GB66_reelected = 1 if GB66_district_name == "DEWSBURY"
replace GB66_reelected = 1 if GB66_district_name == "DONCASTER"
replace GB66_reelected = 1 if GB66_district_name == "DON VALLEY"
replace GB66_reelected = 1 if GB66_district_name == "DORKING"
replace GB66_reelected = 1 if GB66_district_name == "NORTH DORSET"
replace GB66_reelected = 1 if GB66_district_name == "SOUTH DORSET"
replace GB66_reelected = 1 if GB66_district_name == "WEST DORSET"
replace GB66_reelected = 1 if GB66_district_name == "DOVER"
replace GB66_reelected = 1 if GB66_district_name == "DOWN NORTH"
replace GB66_reelected = 1 if GB66_district_name == "DOWN SOUTH"
replace GB66_reelected = 1 if GB66_district_name == "DUDLEY"
replace GB66_reelected = 1 if GB66_district_name == "DUMFRIES"
replace GB66_reelected = 1 if GB66_district_name == "EAST DUNBARTONSHIRE"
replace GB66_reelected = 1 if GB66_district_name == "WEST DUNBARTONSHIRE"
replace GB66_reelected = 1 if GB66_district_name == "DUNDEE EAST"
replace GB66_reelected = 1 if GB66_district_name == "DUNDEE WEST"
replace GB66_reelected = 1 if GB66_district_name == "DUNFERMLINE BURGHS"
replace GB66_reelected = 1 if GB66_district_name == "DURHAM"
replace GB66_reelected = 1 if GB66_district_name == "NORTH WEST DURHAM"
replace GB66_reelected = 1 if GB66_district_name == "EALING,NORTH"
replace GB66_reelected = 1 if GB66_district_name == "EALING,SOUTH"
replace GB66_reelected = 1 if GB66_district_name == "EASINGTON"
replace GB66_reelected = 1 if GB66_district_name == "EASTBOURNE"
replace GB66_reelected = 1 if GB66_district_name == "EAST GRINSTEAD"
replace GB66_reelected = 1 if GB66_district_name == "EAST HAM,NORTH"
replace GB66_reelected = 1 if GB66_district_name == "EAST HAM,SOUTH"
replace GB66_reelected = 1 if GB66_district_name == "EASTLEIGH"
replace GB66_reelected = 1 if GB66_district_name == "EBBW VALE"
replace GB66_reelected = 1 if GB66_district_name == "ECCLES"
replace GB66_reelected = 1 if GB66_district_name == "EDINBURGH CENTRAL"
replace GB66_reelected = 1 if GB66_district_name == "EDINBURGH EAST"
replace GB66_reelected = 1 if GB66_district_name == "EDINBURGH LEITH"
replace GB66_reelected = 1 if GB66_district_name == "EDINBURGH NORTH"
replace GB66_reelected = 1 if GB66_district_name == "EDINBURGH PENTLANDS"
replace GB66_reelected = 1 if GB66_district_name == "EDINBURGH SOUTH"
replace GB66_reelected = 1 if GB66_district_name == "EDINBURGH WEST"
replace GB66_reelected = 1 if GB66_district_name == "EDMONTON"
replace GB66_reelected = 1 if GB66_district_name == "ENFIELD,EAST"
replace GB66_reelected = 1 if GB66_district_name == "ENFIELD,WEST"
replace GB66_reelected = 1 if GB66_district_name == "EPPING"
replace GB66_reelected = 1 if GB66_district_name == "EPSOM"
replace GB66_reelected = 1 if GB66_district_name == "ERITH AND CRAYFORD"
replace GB66_reelected = 1 if GB66_district_name == "ESHER"
replace GB66_reelected = 1 if GB66_district_name == "SOUTH EAST ESSEX"
replace GB66_reelected = 0 if GB66_district_name == "ETON AND SLOUGH"
replace GB66_reelected = 0 if GB66_district_name == "EXETER"
replace GB66_reelected = 1 if GB66_district_name == "EYE"
replace GB66_reelected = 1 if GB66_district_name == "FALMOUTH AND CAMBORNE"
replace GB66_reelected = 1 if GB66_district_name == "FARNHAM"
replace GB66_reelected = 1 if GB66_district_name == "FARNWORTH"
replace GB66_reelected = 1 if GB66_district_name == "FAVERSHAM"
replace GB66_reelected = 1 if GB66_district_name == "FELTHAM"
replace GB66_reelected = 1 if GB66_district_name == "FERMANAGH AND SOUTH TYRONE"
replace GB66_reelected = 1 if GB66_district_name == "EAST FIFE"
replace GB66_reelected = 1 if GB66_district_name == "WEST FIFE"
replace GB66_reelected = 1 if GB66_district_name == "FINCHLEY"
replace GB66_reelected = 1 if GB66_district_name == "EAST FLINTSHIRE"
replace GB66_reelected = 1 if GB66_district_name == "WEST FLINTSHIRE"
replace GB66_reelected = 1 if GB66_district_name == "FOLKESTONE AND HYTHE"
replace GB66_reelected = 1 if GB66_district_name == "FULHAM"
replace GB66_reelected = 1 if GB66_district_name == "GAINSBOROUGH"
replace GB66_reelected = 1 if GB66_district_name == "GALLOWAY"
replace GB66_reelected = 1 if GB66_district_name == "GATESHEAD EAST"
replace GB66_reelected = 1 if GB66_district_name == "GATESHEAD WEST"
replace GB66_reelected = 1 if GB66_district_name == "GILLINGHAM"
replace GB66_reelected = 1 if GB66_district_name == "GLASGOW BRIDGETON"
replace GB66_reelected = 1 if GB66_district_name == "GLASGOW CATHCART"
replace GB66_reelected = 1 if GB66_district_name == "GLASGOW CENTRAL"
replace GB66_reelected = 1 if GB66_district_name == "GLASGOW CRAIGTON"
replace GB66_reelected = 1 if GB66_district_name == "GLASGOW GORBALS"
replace GB66_reelected = 1 if GB66_district_name == "GLASGOW GOVAN"
replace GB66_reelected = 1 if GB66_district_name == "GLASGOW HILLHEAD"
replace GB66_reelected = 1 if GB66_district_name == "GLASGOW KELVINGROVE"
replace GB66_reelected = 1 if GB66_district_name == "GLASGOW MARYHILL"
replace GB66_reelected = 1 if GB66_district_name == "GLASGOW POLLOK"
replace GB66_reelected = 1 if GB66_district_name == "GLASGOW PROVAN"
replace GB66_reelected = 1 if GB66_district_name == "GLASGOW SCOTSTOUN"
replace GB66_reelected = 1 if GB66_district_name == "GLASGOW SHETTLESTON"
replace GB66_reelected = 1 if GB66_district_name == "GLASGOW SPRINGBURN"
replace GB66_reelected = 1 if GB66_district_name == "GLASGOW WOODSIDE"
replace GB66_reelected = 1 if GB66_district_name == "GLOUCESTER"
replace GB66_reelected = 1 if GB66_district_name == "SOUTH GLOUCESTERSHIRE"
replace GB66_reelected = 1 if GB66_district_name == "WEST GLOUCESTERSHIRE"
replace GB66_reelected = 1 if GB66_district_name == "GOOLE"
replace GB66_reelected = 1 if GB66_district_name == "GOSPORT AND FAREHAM"
replace GB66_reelected = 1 if GB66_district_name == "GOWER"
replace GB66_reelected = 1 if GB66_district_name == "GRANTHAM"
replace GB66_reelected = 1 if GB66_district_name == "GRAVESEND"
replace GB66_reelected = 1 if GB66_district_name == "GREENOCK"
replace GB66_reelected = 1 if GB66_district_name == "GREENWICH"
replace GB66_reelected = 1 if GB66_district_name == "GRIMSBY"
replace GB66_reelected = 1 if GB66_district_name == "GUILDFORD"
replace GB66_reelected = 1 if GB66_district_name == "HACKNEY CENTRAL"
replace GB66_reelected = 1 if GB66_district_name == "HALIFAX"
replace GB66_reelected = 1 if GB66_district_name == "HALTEMPRICE"
replace GB66_reelected = 1 if GB66_district_name == "HAMILTON"
replace GB66_reelected = 1 if GB66_district_name == "HAMMERSMITH NORTH"
replace GB66_reelected = 0 if GB66_district_name == "HAMPSTEAD"
replace GB66_reelected = 1 if GB66_district_name == "HARBOROUGH"
replace GB66_reelected = 1 if GB66_district_name == "HARROGATE"
replace GB66_reelected = 1 if GB66_district_name == "HARROW,CENTRAL"
replace GB66_reelected = 0 if GB66_district_name == "HARROW,EAST"
replace GB66_reelected = 1 if GB66_district_name == "HARROW,WEST"
replace GB66_reelected = 1 if GB66_district_name == "THE HARTLEPOOLS"
replace GB66_reelected = 1 if GB66_district_name == "HARWICH"
replace GB66_reelected = 1 if GB66_district_name == "HASTINGS"
replace GB66_reelected = 1 if GB66_district_name == "HAYES AND HARLINGTON"
replace GB66_reelected = 1 if GB66_district_name == "HEMEL HEMPSTEAD"
replace GB66_reelected = 1 if GB66_district_name == "HEMSWORTH"
replace GB66_reelected = 1 if GB66_district_name == "HENDON,NORTH"
replace GB66_reelected = 1 if GB66_district_name == "HENDON,SOUTH"
replace GB66_reelected = 1 if GB66_district_name == "HENLEY"
replace GB66_reelected = 1 if GB66_district_name == "HEREFORD"
replace GB66_reelected = 1 if GB66_district_name == "HERTFORD"
replace GB66_reelected = 1 if GB66_district_name == "EAST HERTFORDSHIRE"
replace GB66_reelected = 1 if GB66_district_name == "SOUTH WEST HERTFORDSHIRE"
replace GB66_reelected = 1 if GB66_district_name == "HESTON AND ISLEWORTH"
replace GB66_reelected = 1 if GB66_district_name == "HEXHAM"
replace GB66_reelected = 1 if GB66_district_name == "HEYWOOD AND ROYTON"
replace GB66_reelected = 0 if GB66_district_name == "HIGH PEAK"
replace GB66_reelected = 1 if GB66_district_name == "HITCHIN"
replace GB66_reelected = 1 if GB66_district_name == "HOLBORN AND ST.PANCRAS"
replace GB66_reelected = 1 if GB66_district_name == "HOLLAND WITH BOSTON"
replace GB66_reelected = 1 if GB66_district_name == "HONITON"
replace GB66_reelected = 1 if GB66_district_name == "HORNCASTLE"
replace GB66_reelected = 0 if GB66_district_name == "HORNCHURCH"
replace GB66_reelected = 1 if GB66_district_name == "HORNSEY"
replace GB66_reelected = 1 if GB66_district_name == "HORSHAM"
replace GB66_reelected = 1 if GB66_district_name == "HOUGHTON-LE-SPRING"
replace GB66_reelected = 1 if GB66_district_name == "HOVE"
replace GB66_reelected = 1 if GB66_district_name == "HOWDEN"
replace GB66_reelected = 1 if GB66_district_name == "HUDDERSFIELD,EAST"
replace GB66_reelected = 1 if GB66_district_name == "HUDDERSFIELD,WEST"
replace GB66_reelected = 1 if GB66_district_name == "HUNTINGDONSHIRE"
replace GB66_reelected = 1 if GB66_district_name == "HUYTON"
replace GB66_reelected = 1 if GB66_district_name == "ILFORD,NORTH"
replace GB66_reelected = 0 if GB66_district_name == "ILFORD,SOUTH"
replace GB66_reelected = 1 if GB66_district_name == "ILKESTON"
replace GB66_reelected = 1 if GB66_district_name == "INCE"
replace GB66_reelected = 1 if GB66_district_name == "INVERNESS"
replace GB66_reelected = 1 if GB66_district_name == "IPSWICH"
replace GB66_reelected = 1 if GB66_district_name == "THE ISLE OF ELY"
replace GB66_reelected = 1 if GB66_district_name == "ISLE OF THANET"
replace GB66_reelected = 1 if GB66_district_name == "ISLE OF WIGHT"
replace GB66_reelected = 1 if GB66_district_name == "ISLINGTON,EAST"
replace GB66_reelected = 1 if GB66_district_name == "ISLINGTON,NORTH"
replace GB66_reelected = 1 if GB66_district_name == "ISLINGTON,SOUTH WEST"
replace GB66_reelected = 1 if GB66_district_name == "JARROW"
replace GB66_reelected = 1 if GB66_district_name == "KEIGHLEY"
replace GB66_reelected = 1 if GB66_district_name == "KENSINGTON,NORTH"
replace GB66_reelected = 1 if GB66_district_name == "KENSINGTON,SOUTH"
replace GB66_reelected = 1 if GB66_district_name == "KETTERING"
replace GB66_reelected = 1 if GB66_district_name == "KIDDERMINSTER"
replace GB66_reelected = 1 if GB66_district_name == "KILMARNOCK"
replace GB66_reelected = 1 if GB66_district_name == "KING'S LYNN"
replace GB66_reelected = 1 if GB66_district_name == "KINGSTON-UPON-HULL EAST"
replace GB66_reelected = 1 if GB66_district_name == "KINGSTON-UPON-HULL NORTH"
replace GB66_reelected = 1 if GB66_district_name == "KINGSTON-UPON-HULL WEST"
replace GB66_reelected = 1 if GB66_district_name == "KINGSTON UPON THAMES"
replace GB66_reelected = 1 if GB66_district_name == "KINROSS AND WEST PERTHSHIRE"
replace GB66_reelected = 1 if GB66_district_name == "KIRKCALDY BURGHS"
replace GB66_reelected = 1 if GB66_district_name == "KNUTSFORD"
replace GB66_reelected = 1 if GB66_district_name == "LAMBETH,BRIXTON"
replace GB66_reelected = 0 if GB66_district_name == "LAMBETH,NORWOOD"
replace GB66_reelected = 1 if GB66_district_name == "LAMBETH,VAUXHALL"
replace GB66_reelected = 1 if GB66_district_name == "LANARK"
replace GB66_reelected = 1 if GB66_district_name == "NORTH LANARKSHIRE"
replace GB66_reelected = 0 if GB66_district_name == "LANCASTER"
replace GB66_reelected = 1 if GB66_district_name == "LEEDS,EAST"
replace GB66_reelected = 1 if GB66_district_name == "LEEDS,NORTH EAST"
replace GB66_reelected = 1 if GB66_district_name == "LEEDS,NORTH WEST"
replace GB66_reelected = 1 if GB66_district_name == "LEEDS,SOUTH"
replace GB66_reelected = 1 if GB66_district_name == "LEEDS,SOUTH EAST"
replace GB66_reelected = 1 if GB66_district_name == "LEEDS,WEST"
replace GB66_reelected = 1 if GB66_district_name == "LEEK"
replace GB66_reelected = 1 if GB66_district_name == "LEICESTER,NORTH EAST"
replace GB66_reelected = 1 if GB66_district_name == "LEICESTER,NORTH WEST"
replace GB66_reelected = 1 if GB66_district_name == "LEICESTER,SOUTH EAST"
replace GB66_reelected = 1 if GB66_district_name == "LEICESTER,SOUTH WEST"
replace GB66_reelected = 1 if GB66_district_name == "LEIGH"
replace GB66_reelected = 1 if GB66_district_name == "LEOMINSTER"
replace GB66_reelected = 1 if GB66_district_name == "LEWES"
replace GB66_reelected = 0 if GB66_district_name == "LEWISHAM,NORTH"
replace GB66_reelected = 1 if GB66_district_name == "LEWISHAM,SOUTH"
replace GB66_reelected = 0 if GB66_district_name == "LEWISHAM,WEST"
replace GB66_reelected = 1 if GB66_district_name == "LEYTON"
replace GB66_reelected = 1 if GB66_district_name == "LICHFIELD AND TAMWORTH"
replace GB66_reelected = 1 if GB66_district_name == "LINCOLN"
replace GB66_reelected = 1 if GB66_district_name == "LIVERPOOL,EDGE HILL"
replace GB66_reelected = 1 if GB66_district_name == "LIVERPOOL,EXCHANGE"
replace GB66_reelected = 1 if GB66_district_name == "LIVERPOOL,GARSTON"
replace GB66_reelected = 1 if GB66_district_name == "LIVERPOOL,KIRKDALE"
replace GB66_reelected = 1 if GB66_district_name == "LIVERPOOL,SCOTLAND"
replace GB66_reelected = 1 if GB66_district_name == "LIVERPOOL,TOXTETH"
replace GB66_reelected = 1 if GB66_district_name == "LIVERPOOL,WALTON"
replace GB66_reelected = 1 if GB66_district_name == "LIVERPOOL,WAVERTREE"
replace GB66_reelected = 1 if GB66_district_name == "LIVERPOOL,WEST DERBY"
replace GB66_reelected = 1 if GB66_district_name == "LLANELLI"
replace GB66_reelected = 1 if GB66_district_name == "CITIES OF LONDON AND WESTMINSTER"
replace GB66_reelected = 1 if GB66_district_name == "LONDONDERRY COUNTY"
replace GB66_reelected = 1 if GB66_district_name == "LOUGHBOROUGH"
replace GB66_reelected = 1 if GB66_district_name == "LOUTH"
replace GB66_reelected = 1 if GB66_district_name == "LOWESTOFT"
replace GB66_reelected = 1 if GB66_district_name == "LUDLOW"
replace GB66_reelected = 1 if GB66_district_name == "LUTON"
replace GB66_reelected = 1 if GB66_district_name == "MACCLESFIELD"
replace GB66_reelected = 1 if GB66_district_name == "MAIDSTONE"
replace GB66_reelected = 1 if GB66_district_name == "MALDON"
replace GB66_reelected = 1 if GB66_district_name == "MANCHESTER,ARDWICK"
replace GB66_reelected = 1 if GB66_district_name == "MANCHESTER,BLACKLEY"
replace GB66_reelected = 1 if GB66_district_name == "MANCHESTER,CHEETHAM"
replace GB66_reelected = 1 if GB66_district_name == "MANCHESTER,EXCHANGE"
replace GB66_reelected = 1 if GB66_district_name == "MANCHESTER,GORTON"
replace GB66_reelected = 1 if GB66_district_name == "MANCHESTER,MOSS SIDE"
replace GB66_reelected = 1 if GB66_district_name == "MANCHESTER,OPENSHAW"
replace GB66_reelected = 1 if GB66_district_name == "MANCHESTER,WITHINGTON"
replace GB66_reelected = 1 if GB66_district_name == "MANCHESTER,WYTHENSHAWE"
replace GB66_reelected = 1 if GB66_district_name == "MANSFIELD"
replace GB66_reelected = 1 if GB66_district_name == "MELTON"
replace GB66_reelected = 1 if GB66_district_name == "MERIDEN"
replace GB66_reelected = 1 if GB66_district_name == "MERIONETH"
replace GB66_reelected = 1 if GB66_district_name == "MERTHYR TYDFIL"
replace GB66_reelected = 1 if GB66_district_name == "MERTON AND MORDEN"
replace GB66_reelected = 1 if GB66_district_name == "MIDDLESBROUGH,EAST"
replace GB66_reelected = 1 if GB66_district_name == "MIDDLESBROUGH,WEST"
replace GB66_reelected = 0 if GB66_district_name == "MIDDLETON AND PRESTWICK"
replace GB66_reelected = 1 if GB66_district_name == "MIDLOTHIAN"
replace GB66_reelected = 1 if GB66_district_name == "MITCHAM"
replace GB66_reelected = 0 if GB66_district_name == "MONMOUTH"
replace GB66_reelected = 1 if GB66_district_name == "MONTGOMERY"
replace GB66_reelected = 1 if GB66_district_name == "MORAY AND NAIRN"
replace GB66_reelected = 1 if GB66_district_name == "MORECAMBE AND LONSDALE"
replace GB66_reelected = 1 if GB66_district_name == "MORPETH"
replace GB66_reelected = 1 if GB66_district_name == "MOTHERWELL"
replace GB66_reelected = 1 if GB66_district_name == "NANTWICH"
replace GB66_reelected = 1 if GB66_district_name == "NEATH"
replace GB66_reelected = 1 if GB66_district_name == "NELSON AND COLNE"
replace GB66_reelected = 1 if GB66_district_name == "NEWARK"
replace GB66_reelected = 1 if GB66_district_name == "NEWBURY"
replace GB66_reelected = 1 if GB66_district_name == "NEWCASTLE UNDER LYME"
replace GB66_reelected = 1 if GB66_district_name == "NEWCASTLE-UPON-TYNE CENTRAL"
replace GB66_reelected = 1 if GB66_district_name == "NEWCASTLE-UPON-TYNE EAST"
replace GB66_reelected = 1 if GB66_district_name == "NEWCASTLE-UPON-TYNE NORTH"
replace GB66_reelected = 1 if GB66_district_name == "NEWCASTLE-UPONTYNE WEST"
replace GB66_reelected = 1 if GB66_district_name == "NEW FOREST"
replace GB66_reelected = 1 if GB66_district_name == "NEWPORT"
replace GB66_reelected = 1 if GB66_district_name == "NEWTON"
replace GB66_reelected = 1 if GB66_district_name == "CENTRAL NORFOLK"
replace GB66_reelected = 1 if GB66_district_name == "NORTH NORFOLK"
replace GB66_reelected = 1 if GB66_district_name == "SOUTH NORFOLK"
replace GB66_reelected = 1 if GB66_district_name == "SOUTH WEST NORFOLK"
replace GB66_reelected = 1 if GB66_district_name == "NORMANTON"
replace GB66_reelected = 1 if GB66_district_name == "NORTHAMPTON"
replace GB66_reelected = 1 if GB66_district_name == "SOUTH NORTHAMPTONSHIRE"
replace GB66_reelected = 1 if GB66_district_name == "NORTH FYLDE"
replace GB66_reelected = 1 if GB66_district_name == "NORTHWICH"
replace GB66_reelected = 1 if GB66_district_name == "NORWICH,NORTH"
replace GB66_reelected = 1 if GB66_district_name == "NORWICH,SOUTH"
replace GB66_reelected = 1 if GB66_district_name == "NOTTINGHAM,CENTRAL"
replace GB66_reelected = 1 if GB66_district_name == "NOTTINGHAM,NORTH"
replace GB66_reelected = 0 if GB66_district_name == "NOTTINGHAM,SOUTH"
replace GB66_reelected = 1 if GB66_district_name == "NOTTINGHAM,WEST"
replace GB66_reelected = 1 if GB66_district_name == "NUNEATON"
replace GB66_reelected = 1 if GB66_district_name == "OGMORE"
replace GB66_reelected = 1 if GB66_district_name == "OLDBURY AND HALESOWEN"
replace GB66_reelected = 1 if GB66_district_name == "OLDHAM,EAST"
replace GB66_reelected = 1 if GB66_district_name == "OLDHAM,WEST"
replace GB66_reelected = 1 if GB66_district_name == "ORKNEY AND ZETLAND"
replace GB66_reelected = 1 if GB66_district_name == "ORMSKIRK"
replace GB66_reelected = 1 if GB66_district_name == "ORPINGTON"
replace GB66_reelected = 1 if GB66_district_name == "OSWESTRY"
replace GB66_reelected = 0 if GB66_district_name == "OXFORD"
replace GB66_reelected = 1 if GB66_district_name == "PADDINGTON,NORTH"
replace GB66_reelected = 1 if GB66_district_name == "PADDINGTON,SOUTH"
replace GB66_reelected = 1 if GB66_district_name == "PAISLEY"
replace GB66_reelected = 1 if GB66_district_name == "PEMBROKE"
replace GB66_reelected = 1 if GB66_district_name == "PENISTONE"
replace GB66_reelected = 1 if GB66_district_name == "PENRITH AND THE BORDERS"
replace GB66_reelected = 1 if GB66_district_name == "PERTH AND EAST PERTHSHIRE"
replace GB66_reelected = 1 if GB66_district_name == "PETERBOROUGH"
replace GB66_reelected = 1 if GB66_district_name == "PETERSFIELD"
replace GB66_reelected = 1 if GB66_district_name == "PLYMOUTH,DEVONPORT"
replace GB66_reelected = 0 if GB66_district_name == "PLYMOUTH,SUTTON"
replace GB66_reelected = 1 if GB66_district_name == "PONTEFRACT"
replace GB66_reelected = 1 if GB66_district_name == "PONTYPOOL"
replace GB66_reelected = 1 if GB66_district_name == "PONTYPRIDD"
replace GB66_reelected = 1 if GB66_district_name == "POOLE"
replace GB66_reelected = 1 if GB66_district_name == "POPLAR"
replace GB66_reelected = 1 if GB66_district_name == "PORTSMOUTH,LANGSTON"
replace GB66_reelected = 1 if GB66_district_name == "PORTSMOUTH,SOUTH"
replace GB66_reelected = 0 if GB66_district_name == "PORTSMOUTH,WEST"
replace GB66_reelected = 0 if GB66_district_name == "PRESTON,NORTH"
replace GB66_reelected = 1 if GB66_district_name == "PRESTON,SOUTH"
replace GB66_reelected = 1 if GB66_district_name == "PUDSEY"
replace GB66_reelected = 0 if GB66_district_name == "READING"
replace GB66_reelected = 1 if GB66_district_name == "REIGATE"
replace GB66_reelected = 1 if GB66_district_name == "EAST RENFREWSHIRE"
replace GB66_reelected = 1 if GB66_district_name == "WEST RENFREWSHIRE"
replace GB66_reelected = 1 if GB66_district_name == "RHONDDA,EAST"
replace GB66_reelected = 1 if GB66_district_name == "RHONDDA,WEST"
replace GB66_reelected = 1 if GB66_district_name == "RICHMOND (SURREY)"
replace GB66_reelected = 1 if GB66_district_name == "RICHMOND (YORKSHIRE)"
replace GB66_reelected = 1 if GB66_district_name == "RIPON"
replace GB66_reelected = 1 if GB66_district_name == "ROCHDALE"
replace GB66_reelected = 1 if GB66_district_name == "ROCHESTER AND CHATHAM"
replace GB66_reelected = 1 if GB66_district_name == "ROMFORD"
replace GB66_reelected = 1 if GB66_district_name == "ROSS AND CROMARTY"
replace GB66_reelected = 1 if GB66_district_name == "ROSSENDALE"
replace GB66_reelected = 1 if GB66_district_name == "ROTHERHAM"
replace GB66_reelected = 1 if GB66_district_name == "ROTHER VALLEY"
replace GB66_reelected = 1 if GB66_district_name == "ROWLEY REGIS AND TIPTON"
replace GB66_reelected = 0 if GB66_district_name == "ROXBURGH, SELKIRK AND PEEBLES"
replace GB66_reelected = 0 if GB66_district_name == "RUGBY"
replace GB66_reelected = 1 if GB66_district_name == "RUISLIP-NORTHWOOD"
replace GB66_reelected = 1 if GB66_district_name == "RUNCORN"
replace GB66_reelected = 0 if GB66_district_name == "RUSHCLIFFE"
replace GB66_reelected = 1 if GB66_district_name == "RUTHERGLEN"
replace GB66_reelected = 1 if GB66_district_name == "RUTLAND AND STAMFORD"
replace GB66_reelected = 1 if GB66_district_name == "RYE"
replace GB66_reelected = 1 if GB66_district_name == "SAFFRON WALDON"
replace GB66_reelected = 1 if GB66_district_name == "ST.ALBANS"
replace GB66_reelected = 1 if GB66_district_name == "ST.HELENS"
replace GB66_reelected = 1 if GB66_district_name == "ST.IVES"
replace GB66_reelected = 1 if GB66_district_name == "ST.MARYLEBONE"
replace GB66_reelected = 1 if GB66_district_name == "ST.PANCRAS NORTH"
replace GB66_reelected = 1 if GB66_district_name == "SALFORD,EAST"
replace GB66_reelected = 1 if GB66_district_name == "SALFORD,WEST"
replace GB66_reelected = 1 if GB66_district_name == "SALISBURY"
replace GB66_reelected = 1 if GB66_district_name == "SCARBOROUGH AND WHITBY"
replace GB66_reelected = 1 if GB66_district_name == "SEDGEFIELD"
replace GB66_reelected = 1 if GB66_district_name == "SEVENOAKS"
replace GB66_reelected = 1 if GB66_district_name == "SHEFFIELD,ATTERCLIFFE"
replace GB66_reelected = 1 if GB66_district_name == "SHEFFIELD,BRIGHTSIDE"
replace GB66_reelected = 1 if GB66_district_name == "SHEFFIELD,HALLAM"
replace GB66_reelected = 0 if GB66_district_name == "SHEFFIELD,HEELEY"
replace GB66_reelected = 1 if GB66_district_name == "SHEFFIELD,HILLSBOROUGH"
replace GB66_reelected = 1 if GB66_district_name == "SHEFFIELD,PARK"
replace GB66_reelected = 1 if GB66_district_name == "SHIPLEY"
replace GB66_reelected = 1 if GB66_district_name == "SHOREDITCH AND FINSBURY"
replace GB66_reelected = 1 if GB66_district_name == "SHREWSBURY"
replace GB66_reelected = 1 if GB66_district_name == "SKIPTON"
replace GB66_reelected = 0 if GB66_district_name == "SMETHWICK"
replace GB66_reelected = 1 if GB66_district_name == "SOLIHULL"
replace GB66_reelected = 1 if GB66_district_name == "NORTH SOMERSET"
replace GB66_reelected = 1 if GB66_district_name == "SOUTHALL"
replace GB66_reelected = 1 if GB66_district_name == "SOUTHAMPTON,ITCHEN"
replace GB66_reelected = 0 if GB66_district_name == "SOUTHAMPTON,TEST"
replace GB66_reelected = 1 if GB66_district_name == "SOUTHEND EAST"
replace GB66_reelected = 1 if GB66_district_name == "SOUTHEND WEST"
replace GB66_reelected = 1 if GB66_district_name == "SOUTH FYLDE"
replace GB66_reelected = 1 if GB66_district_name == "SOUTHGATE"
replace GB66_reelected = 1 if GB66_district_name == "SOUTHPORT"
replace GB66_reelected = 1 if GB66_district_name == "SOUTH SHIELDS"
replace GB66_reelected = 1 if GB66_district_name == "SOUTHWARK"
replace GB66_reelected = 1 if GB66_district_name == "SOWERBY"
replace GB66_reelected = 1 if GB66_district_name == "SPELTHORNE"
replace GB66_reelected = 1 if GB66_district_name == "STAFFORD AND STONE"
replace GB66_reelected = 1 if GB66_district_name == "STALYBRIDGE AND HYDE"
replace GB66_reelected = 1 if GB66_district_name == "STEPNEY"
replace GB66_reelected = 1 if GB66_district_name == "STIRLING AND FALKIRK"
replace GB66_reelected = 1 if GB66_district_name == "CLACKMANNAN AND EAST STIRLINGSHIRE"
replace GB66_reelected = 1 if GB66_district_name == "WEST STIRLINGSHIRE"
replace GB66_reelected = 1 if GB66_district_name == "STOCKPORT NORTH"
replace GB66_reelected = 1 if GB66_district_name == "STOCKPORT SOUTH"
replace GB66_reelected = 1 if GB66_district_name == "STOCKTON-ON-TEES"
replace GB66_reelected = 1 if GB66_district_name == "STOKE NEWINGTON AND HACKNEY NORTH"
replace GB66_reelected = 1 if GB66_district_name == "STOKE ON TRENT,CENTRAL"
replace GB66_reelected = 1 if GB66_district_name == "STOKE ON TRENT,NORTH"
replace GB66_reelected = 1 if GB66_district_name == "STOKE ON TRENT,SOUTH"
replace GB66_reelected = 1 if GB66_district_name == "STRATFORD"
replace GB66_reelected = 0 if GB66_district_name == "STRETFORD"
replace GB66_reelected = 1 if GB66_district_name == "STROUD"
replace GB66_reelected = 1 if GB66_district_name == "SUDBURY AND WOODBRIDGE"
replace GB66_reelected = 1 if GB66_district_name == "SUNDERLAND NORTH"
replace GB66_reelected = 1 if GB66_district_name == "SUNDERLAND SOUTH"
replace GB66_reelected = 1 if GB66_district_name == "SURBITON"
replace GB66_reelected = 1 if GB66_district_name == "EAST SURREY"
replace GB66_reelected = 1 if GB66_district_name == "SUTTON AND CHEAM"
replace GB66_reelected = 1 if GB66_district_name == "SUTTON COLDFIELD"
replace GB66_reelected = 1 if GB66_district_name == "SWANSEA,EAST"
replace GB66_reelected = 1 if GB66_district_name == "SWANSEA,WEST"
replace GB66_reelected = 1 if GB66_district_name == "SWINDON"
replace GB66_reelected = 1 if GB66_district_name == "TAUNTON"
replace GB66_reelected = 1 if GB66_district_name == "TAVISTOCK"
replace GB66_reelected = 1 if GB66_district_name == "THIRSK AND MALTON"
replace GB66_reelected = 1 if GB66_district_name == "THURROCK"
replace GB66_reelected = 1 if GB66_district_name == "TIVERTON"
replace GB66_reelected = 1 if GB66_district_name == "TONBRIDGE"
replace GB66_reelected = 1 if GB66_district_name == "TORQUAY"
replace GB66_reelected = 1 if GB66_district_name == "TORRINGTON"
replace GB66_reelected = 1 if GB66_district_name == "TOTNES"
replace GB66_reelected = 1 if GB66_district_name == "TOTTENHAM"
replace GB66_reelected = 1 if GB66_district_name == "TRURO"
replace GB66_reelected = 1 if GB66_district_name == "TWICKENHAM"
replace GB66_reelected = 1 if GB66_district_name == "TYNEMOUTH"
replace GB66_reelected = 1 if GB66_district_name == "ULSTER MID"
replace GB66_reelected = 0 if GB66_district_name == "UXBRIDGE"
replace GB66_reelected = 1 if GB66_district_name == "WAKEFIELD"
replace GB66_reelected = 1 if GB66_district_name == "WALLASEY"
replace GB66_reelected = 1 if GB66_district_name == "WALLSEND"
replace GB66_reelected = 1 if GB66_district_name == "WALSALL,NORTH"
replace GB66_reelected = 1 if GB66_district_name == "WALSALL,SOUTH"
replace GB66_reelected = 0 if GB66_district_name == "WALTHAMSTOW,EAST"
replace GB66_reelected = 1 if GB66_district_name == "WALTHAMSTOW,WEST"
replace GB66_reelected = 1 if GB66_district_name == "WANDSWORTH,CENTRAL"
replace GB66_reelected = 1 if GB66_district_name == "WANDSWORTH,CLAPHAM"
replace GB66_reelected = 1 if GB66_district_name == "WANDSWORTH,PUTNEY"
replace GB66_reelected = 1 if GB66_district_name == "WANDSWORTH,STREATHAM"
replace GB66_reelected = 1 if GB66_district_name == "WANSTEAD AND WOODFORD"
replace GB66_reelected = 1 if GB66_district_name == "WARRINGTON"
replace GB66_reelected = 1 if GB66_district_name == "WARWICK AND LEAMINGTON"
replace GB66_reelected = 1 if GB66_district_name == "WATFORD"
replace GB66_reelected = 1 if GB66_district_name == "WEDNESBURY"
replace GB66_reelected = 1 if GB66_district_name == "WELLINGBOROUGH"
replace GB66_reelected = 1 if GB66_district_name == "WELLS"
replace GB66_reelected = 1 if GB66_district_name == "WEMBLEY NORTH"
replace GB66_reelected = 1 if GB66_district_name == "WEMBLEY SOUTH"
replace GB66_reelected = 1 if GB66_district_name == "WEST BROMWICH"
replace GB66_reelected = 1 if GB66_district_name == "WESTBURY"
replace GB66_reelected = 1 if GB66_district_name == "WESTERN ISLES"
replace GB66_reelected = 1 if GB66_district_name == "WEST HAM NORTH"
replace GB66_reelected = 1 if GB66_district_name == "WEST HAM SOUTH"
replace GB66_reelected = 1 if GB66_district_name == "WESTHOUGHTON"
replace GB66_reelected = 1 if GB66_district_name == "WEST LOTHIAN"
replace GB66_reelected = 1 if GB66_district_name == "WESTMORLAND"
replace GB66_reelected = 1 if GB66_district_name == "WESTON SUPER MARE"
replace GB66_reelected = 1 if GB66_district_name == "WHITEHAVEN"
replace GB66_reelected = 1 if GB66_district_name == "WIDNES"
replace GB66_reelected = 1 if GB66_district_name == "WIGAN"
replace GB66_reelected = 1 if GB66_district_name == "WILLESDEN,EAST"
replace GB66_reelected = 1 if GB66_district_name == "WILLESDEN,WEST"
replace GB66_reelected = 1 if GB66_district_name == "WIMBLEDON"
replace GB66_reelected = 1 if GB66_district_name == "WINCHESTER"
replace GB66_reelected = 1 if GB66_district_name == "WINDSOR"
replace GB66_reelected = 1 if GB66_district_name == "WIRRAL"
replace GB66_reelected = 1 if GB66_district_name == "WOKING"
replace GB66_reelected = 1 if GB66_district_name == "WOKINGHAM"
replace GB66_reelected = 1 if GB66_district_name == "WOLVERHAMPTON NORTH EAST"
replace GB66_reelected = 1 if GB66_district_name == "WOLVERHAMPTON SOUTH WEST"
replace GB66_reelected = 1 if GB66_district_name == "WOOD GREEN"
replace GB66_reelected = 1 if GB66_district_name == "WOOLWICH,EAST"
replace GB66_reelected = 1 if GB66_district_name == "WOOLWICH,WEST"
replace GB66_reelected = 1 if GB66_district_name == "WORCESTER"
replace GB66_reelected = 1 if GB66_district_name == "SOUTH WORCESTERSHIRE"
replace GB66_reelected = 1 if GB66_district_name == "WORKINGTON"
replace GB66_reelected = 1 if GB66_district_name == "WORTHING"
replace GB66_reelected = 0 if GB66_district_name == "THE WREKIN"
replace GB66_reelected = 1 if GB66_district_name == "WREXHAM"
replace GB66_reelected = 1 if GB66_district_name == "WYCOMBE"
replace GB66_reelected = 0 if GB66_district_name == "YARMOUTH"
replace GB66_reelected = 1 if GB66_district_name == "YEOVIL"
replace GB66_reelected = 0 if GB66_district_name == "YORK"


**********************************************
** DISTRICT OUTCOMES: 1970 GENERAL ELECTION **
**********************************************

* Note: 1 = Conservative, 2 = Labour, 3 = Liberal, 4 = SNP/Plaid Cymru, 5 = Other
							
gen GB70_district_outcome = .

replace GB70_district_outcome = 2 if GB70_district_name == "ABERAVON"
replace GB70_district_outcome = 2 if GB70_district_name == "ABERDARE"
replace GB70_district_outcome = 2 if GB70_district_name == "ABERDEEN NORTH"
replace GB70_district_outcome = 1 if GB70_district_name == "ABERDEEN SOUTH"
replace GB70_district_outcome = 1 if GB70_district_name == "EAST ABERDEENSHIRE"
replace GB70_district_outcome = 1 if GB70_district_name == "WEST ABERDEENSHIRE"
replace GB70_district_outcome = 2 if GB70_district_name == "ABERTILLERY"
replace GB70_district_outcome = 1 if GB70_district_name == "ABINGDON"
replace GB70_district_outcome = 2 if GB70_district_name == "ACCRINGTON"
replace GB70_district_outcome = 2 if GB70_district_name == "ACTON"
replace GB70_district_outcome = 1 if GB70_district_name == "ALDERSHOT"
replace GB70_district_outcome = 1 if GB70_district_name == "ALTRINCHAM AND SALE"
replace GB70_district_outcome = 2 if GB70_district_name == "ANGLESEY"
replace GB70_district_outcome = 1 if GB70_district_name == "NORTH ANGUS AND MEARNS"
replace GB70_district_outcome = 1 if GB70_district_name == "SOUTH ANGUS"
replace GB70_district_outcome = 5 if GB70_district_name == "ANTRIM NORTH"
replace GB70_district_outcome = 1 if GB70_district_name == "ANTRIM SOUTH"
replace GB70_district_outcome = 1 if GB70_district_name == "ARGYLL"
replace GB70_district_outcome = 1 if GB70_district_name == "ARMAGH"
replace GB70_district_outcome = 1 if GB70_district_name == "ARUNDEL AND SHOREHAM"
replace GB70_district_outcome = 2 if GB70_district_name == "ASHFIELD"
replace GB70_district_outcome = 1 if GB70_district_name == "ASHFORD"
replace GB70_district_outcome = 2 if GB70_district_name == "ASHTON UNDER LYNE"
replace GB70_district_outcome = 1 if GB70_district_name == "AYLESBURY"
replace GB70_district_outcome = 1 if GB70_district_name == "AYR"
replace GB70_district_outcome = 2 if GB70_district_name == "CENTRAL AYRSHIRE"
replace GB70_district_outcome = 1 if GB70_district_name == "BUTE AND NORTH AYRSHIRE"
replace GB70_district_outcome = 2 if GB70_district_name == "SOUTH AYRSHIRE"
replace GB70_district_outcome = 1 if GB70_district_name == "BANBURY"
replace GB70_district_outcome = 1 if GB70_district_name == "BANFF"
replace GB70_district_outcome = 2 if GB70_district_name == "BARKING"
replace GB70_district_outcome = 1 if GB70_district_name == "BARKSTON ASH"
replace GB70_district_outcome = 1 if GB70_district_name == "BARNET"
replace GB70_district_outcome = 2 if GB70_district_name == "BARNSLEY"
replace GB70_district_outcome = 2 if GB70_district_name == "BARONS COURT"
replace GB70_district_outcome = 2 if GB70_district_name == "BARROW IN FURNESS"
replace GB70_district_outcome = 1 if GB70_district_name == "BARRY"
replace GB70_district_outcome = 1 if GB70_district_name == "BASINGSTOKE"
replace GB70_district_outcome = 2 if GB70_district_name == "BASSETLAW"
replace GB70_district_outcome = 1 if GB70_district_name == "BATH"
replace GB70_district_outcome = 2 if GB70_district_name == "BATLEY AND MORLEY"
replace GB70_district_outcome = 2 if GB70_district_name == "BATTERSEA,NORTH"
replace GB70_district_outcome = 2 if GB70_district_name == "BATTERSEA,SOUTH"
replace GB70_district_outcome = 1 if GB70_district_name == "BEBINGTON"
replace GB70_district_outcome = 1 if GB70_district_name == "BECKENHAM"
replace GB70_district_outcome = 1 if GB70_district_name == "BEDFORD"
replace GB70_district_outcome = 1 if GB70_district_name == "MID-BEDFORDSHIRE"
replace GB70_district_outcome = 1 if GB70_district_name == "SOUTH BEDFORDSHIRE"
replace GB70_district_outcome = 2 if GB70_district_name == "BEDWELLTY"
replace GB70_district_outcome = 1 if GB70_district_name == "BELFAST EAST"
replace GB70_district_outcome = 1 if GB70_district_name == "BELFAST NORTH"
replace GB70_district_outcome = 1 if GB70_district_name == "BELFAST SOUTH"
replace GB70_district_outcome = 5 if GB70_district_name == "BELFAST WEST"
replace GB70_district_outcome = 1 if GB70_district_name == "BELPER"
replace GB70_district_outcome = 2 if GB70_district_name == "BERMONDSEY"
replace GB70_district_outcome = 2 if GB70_district_name == "BERWICK AND EAST LOTHIAN"
replace GB70_district_outcome = 1 if GB70_district_name == "BERWICK UPON TWEED"
replace GB70_district_outcome = 2 if GB70_district_name == "BETHNAL GREEN"
replace GB70_district_outcome = 1 if GB70_district_name == "BEXLEY"
replace GB70_district_outcome = 1 if GB70_district_name == "BILLERICAY"
replace GB70_district_outcome = 2 if GB70_district_name == "BILSTON"
replace GB70_district_outcome = 2 if GB70_district_name == "BIRKENHEAD"
replace GB70_district_outcome = 2 if GB70_district_name == "BIRMINGHAM,ALL SAINTS"
replace GB70_district_outcome = 2 if GB70_district_name == "BIRMINGHAM,ASTON"
replace GB70_district_outcome = 1 if GB70_district_name == "BIRMINGHAM,EDGBASTON"
replace GB70_district_outcome = 1 if GB70_district_name == "BIRMINGHAM,HALL GREEN"
replace GB70_district_outcome = 1 if GB70_district_name == "BIRMINGHAM,HANDSWORTH"
replace GB70_district_outcome = 2 if GB70_district_name == "BIRMINGHAM,LADYWOOD"
replace GB70_district_outcome = 2 if GB70_district_name == "BIRMINGHAM,NORTHFIED"
replace GB70_district_outcome = 1 if GB70_district_name == "BIRMINGHAM,PERRY BARR"
replace GB70_district_outcome = 1 if GB70_district_name == "BIRMINGHAM,SELLY OAK"
replace GB70_district_outcome = 2 if GB70_district_name == "BIRMINGHAM,SMALL HEATH"
replace GB70_district_outcome = 2 if GB70_district_name == "BIRMINGHAM,SPARKBROOK"
replace GB70_district_outcome = 2 if GB70_district_name == "BIRMINGHAM,STECHFORD"
replace GB70_district_outcome = 1 if GB70_district_name == "BIRMINGHAM,YARDLEY"
replace GB70_district_outcome = 2 if GB70_district_name == "BISHOP AUCKLAND"
replace GB70_district_outcome = 2 if GB70_district_name == "BLACKBURN"
replace GB70_district_outcome = 1 if GB70_district_name == "BLACKPOOL,NORTH"
replace GB70_district_outcome = 1 if GB70_district_name == "BLACKPOOL,SOUTH"
replace GB70_district_outcome = 2 if GB70_district_name == "BLAYDON"
replace GB70_district_outcome = 2 if GB70_district_name == "BLYTH"
replace GB70_district_outcome = 1 if GB70_district_name == "BODMIN"
replace GB70_district_outcome = 2 if GB70_district_name == "BOLSOVER"
replace GB70_district_outcome = 1 if GB70_district_name == "BOLTON,EAST"
replace GB70_district_outcome = 1 if GB70_district_name == "BOLTON,WEST"
replace GB70_district_outcome = 2 if GB70_district_name == "BOOTLE"
replace GB70_district_outcome = 1 if GB70_district_name == "BOSWORTH"
replace GB70_district_outcome = 2 if GB70_district_name == "BOTHWELL"
replace GB70_district_outcome = 1 if GB70_district_name == "BOURNEMOUTH EAST AND CHRISTCHURCH"
replace GB70_district_outcome = 1 if GB70_district_name == "BOURNEMOUTH WEST"
replace GB70_district_outcome = 2 if GB70_district_name == "BRADFORD,EAST"
replace GB70_district_outcome = 2 if GB70_district_name == "BRADFORD,NORTH"
replace GB70_district_outcome = 2 if GB70_district_name == "BRADFORD,SOUTH"
replace GB70_district_outcome = 1 if GB70_district_name == "BRADFORD,WEST"
replace GB70_district_outcome = 2 if GB70_district_name == "BRECON AND RADNOR"
replace GB70_district_outcome = 2 if GB70_district_name == "BRENTFORD AND CHISWICK"
replace GB70_district_outcome = 1 if GB70_district_name == "BRIDGWATER"
replace GB70_district_outcome = 1 if GB70_district_name == "BRIDLINGTON"
replace GB70_district_outcome = 1 if GB70_district_name == "BRIERLEY HILL"
replace GB70_district_outcome = 2 if GB70_district_name == "BRIGG"
replace GB70_district_outcome = 1 if GB70_district_name == "BRIGHOUSE AND SPENBOROUGH"
replace GB70_district_outcome = 1 if GB70_district_name == "BRIGHTON,KEMPTOWN"
replace GB70_district_outcome = 1 if GB70_district_name == "BRIGHTON,PAVILION"
replace GB70_district_outcome = 2 if GB70_district_name == "BRISTOL,CENTRAL"
replace GB70_district_outcome = 1 if GB70_district_name == "BRISTOL,NORTH EAST"
replace GB70_district_outcome = 1 if GB70_district_name == "BRISTOL,NORTH WEST"
replace GB70_district_outcome = 2 if GB70_district_name == "BRISTOL,SOUTH"
replace GB70_district_outcome = 2 if GB70_district_name == "BRISTOL,SOUTH EAST"
replace GB70_district_outcome = 1 if GB70_district_name == "BRISTOL,WEST"
replace GB70_district_outcome = 1 if GB70_district_name == "BROMLEY"
replace GB70_district_outcome = 1 if GB70_district_name == "BROMSGROVE"
replace GB70_district_outcome = 1 if GB70_district_name == "BUCKINGHAM"
replace GB70_district_outcome = 1 if GB70_district_name == "SOUTH BUCKINGHAMSHIRE"
replace GB70_district_outcome = 2 if GB70_district_name == "BURNLEY"
replace GB70_district_outcome = 1 if GB70_district_name == "BURTON"
replace GB70_district_outcome = 1 if GB70_district_name == "BURY AND RADCLIFFE"
replace GB70_district_outcome = 1 if GB70_district_name == "BURY ST.EDMUNDS"
replace GB70_district_outcome = 2 if GB70_district_name == "CAERNARVON"
replace GB70_district_outcome = 2 if GB70_district_name == "CAERPHILLY"
replace GB70_district_outcome = 2 if GB70_district_name == "CAITHNESS AND SUTHERLAND"
replace GB70_district_outcome = 2 if GB70_district_name == "CAMBERWELL,DULWICH"
replace GB70_district_outcome = 2 if GB70_district_name == "CAMBERWELL,PECKHAM"
replace GB70_district_outcome = 1 if GB70_district_name == "CAMBRIDGE"
replace GB70_district_outcome = 1 if GB70_district_name == "CAMBRIDGESHIRE"
replace GB70_district_outcome = 1 if GB70_district_name == "CANNOCK"
replace GB70_district_outcome = 1 if GB70_district_name == "CANTERBURY"
replace GB70_district_outcome = 1 if GB70_district_name == "CARDIFF,NORTH"
replace GB70_district_outcome = 2 if GB70_district_name == "CARDIFF,SOUTH EAST"
replace GB70_district_outcome = 2 if GB70_district_name == "CARDIFF,WEST"
replace GB70_district_outcome = 2 if GB70_district_name == "CARDIGAN"
replace GB70_district_outcome = 2 if GB70_district_name == "CARLISLE"
replace GB70_district_outcome = 1 if GB70_district_name == "CARLTON"
replace GB70_district_outcome = 2 if GB70_district_name == "CARMARTHEN"
replace GB70_district_outcome = 1 if GB70_district_name == "CARSHALTON"
replace GB70_district_outcome = 1 if GB70_district_name == "CHEADLE"
replace GB70_district_outcome = 1 if GB70_district_name == "CHELMSFORD"
replace GB70_district_outcome = 1 if GB70_district_name == "CHELSEA"
replace GB70_district_outcome = 1 if GB70_district_name == "CHELTENHAM"
replace GB70_district_outcome = 1 if GB70_district_name == "CHERTSEY"
replace GB70_district_outcome = 1 if GB70_district_name == "CITY OF CHESTER"
replace GB70_district_outcome = 2 if GB70_district_name == "CHESTERFIELD"
replace GB70_district_outcome = 2 if GB70_district_name == "CHESTER-LE-STREET"
replace GB70_district_outcome = 1 if GB70_district_name == "CHICHESTER"
replace GB70_district_outcome = 1 if GB70_district_name == "CHIGWELL"
replace GB70_district_outcome = 1 if GB70_district_name == "CHIPPENHAM"
replace GB70_district_outcome = 1 if GB70_district_name == "CHISLEHURST"
replace GB70_district_outcome = 1 if GB70_district_name == "CHORLEY"
replace GB70_district_outcome = 1 if GB70_district_name == "CIRENCESTER AND TEWKESBURY"
replace GB70_district_outcome = 2 if GB70_district_name == "CLEVELAND"
replace GB70_district_outcome = 1 if GB70_district_name == "CLITHEROE"
replace GB70_district_outcome = 2 if GB70_district_name == "COATBRIDGE AND AIRDRIE"
replace GB70_district_outcome = 1 if GB70_district_name == "COLCHESTER"
replace GB70_district_outcome = 2 if GB70_district_name == "COLNE VALLEY"
replace GB70_district_outcome = 2 if GB70_district_name == "CONSETT"
replace GB70_district_outcome = 1 if GB70_district_name == "CONWAY"
replace GB70_district_outcome = 3 if GB70_district_name == "NORTH CORNWALL"
replace GB70_district_outcome = 2 if GB70_district_name == "COVENTRY,EAST"
replace GB70_district_outcome = 2 if GB70_district_name == "COVENTRY,NORTH"
replace GB70_district_outcome = 2 if GB70_district_name == "COVENTRY,SOUTH"
replace GB70_district_outcome = 2 if GB70_district_name == "CREWE"
replace GB70_district_outcome = 1 if GB70_district_name == "CROSBY"
replace GB70_district_outcome = 1 if GB70_district_name == "CROYDON,NORTH EAST"
replace GB70_district_outcome = 1 if GB70_district_name == "CROYDON,NORTH WEST"
replace GB70_district_outcome = 1 if GB70_district_name == "CROYDON,SOUTH"
replace GB70_district_outcome = 2 if GB70_district_name == "DAGENHAM"
replace GB70_district_outcome = 2 if GB70_district_name == "DARLINGTON"
replace GB70_district_outcome = 1 if GB70_district_name == "DARTFORD"
replace GB70_district_outcome = 1 if GB70_district_name == "DARWEN"
replace GB70_district_outcome = 2 if GB70_district_name == "DEARNE VALLEY"
replace GB70_district_outcome = 1 if GB70_district_name == "DENBIGH"
replace GB70_district_outcome = 2 if GB70_district_name == "DEPTFORD"
replace GB70_district_outcome = 2 if GB70_district_name == "DERBY NORTH"
replace GB70_district_outcome = 2 if GB70_district_name == "DERBY SOUTH"
replace GB70_district_outcome = 2 if GB70_district_name == "NORTH EAST DERBYSHIRE"
replace GB70_district_outcome = 1 if GB70_district_name == "SOUTH EAST DERBYSHIRE"
replace GB70_district_outcome = 1 if GB70_district_name == "WEST DERBYSHIRE"
replace GB70_district_outcome = 1 if GB70_district_name == "DEVIZES"
replace GB70_district_outcome = 3 if GB70_district_name == "NORTH DEVON"
replace GB70_district_outcome = 2 if GB70_district_name == "DEWSBURY"
replace GB70_district_outcome = 2 if GB70_district_name == "DONCASTER"
replace GB70_district_outcome = 2 if GB70_district_name == "DON VALLEY"
replace GB70_district_outcome = 1 if GB70_district_name == "DORKING"
replace GB70_district_outcome = 1 if GB70_district_name == "NORTH DORSET"
replace GB70_district_outcome = 1 if GB70_district_name == "SOUTH DORSET"
replace GB70_district_outcome = 1 if GB70_district_name == "WEST DORSET"
replace GB70_district_outcome = 1 if GB70_district_name == "DOVER"
replace GB70_district_outcome = 1 if GB70_district_name == "DOWN NORTH"
replace GB70_district_outcome = 1 if GB70_district_name == "DOWN SOUTH"
replace GB70_district_outcome = 2 if GB70_district_name == "DUDLEY"
replace GB70_district_outcome = 1 if GB70_district_name == "DUMFRIES"
replace GB70_district_outcome = 2 if GB70_district_name == "EAST DUNBARTONSHIRE"
replace GB70_district_outcome = 2 if GB70_district_name == "WEST DUNBARTONSHIRE"
replace GB70_district_outcome = 2 if GB70_district_name == "DUNDEE EAST"
replace GB70_district_outcome = 2 if GB70_district_name == "DUNDEE WEST"
replace GB70_district_outcome = 2 if GB70_district_name == "DUNFERMLINE BURGHS"
replace GB70_district_outcome = 2 if GB70_district_name == "DURHAM"
replace GB70_district_outcome = 2 if GB70_district_name == "NORTH WEST DURHAM"
replace GB70_district_outcome = 2 if GB70_district_name == "EALING,NORTH"
replace GB70_district_outcome = 1 if GB70_district_name == "EALING,SOUTH"
replace GB70_district_outcome = 2 if GB70_district_name == "EASINGTON"
replace GB70_district_outcome = 1 if GB70_district_name == "EASTBOURNE"
replace GB70_district_outcome = 1 if GB70_district_name == "EAST GRINSTEAD"
replace GB70_district_outcome = 2 if GB70_district_name == "EAST HAM,NORTH"
replace GB70_district_outcome = 2 if GB70_district_name == "EAST HAM,SOUTH"
replace GB70_district_outcome = 1 if GB70_district_name == "EASTLEIGH"
replace GB70_district_outcome = 2 if GB70_district_name == "EBBW VALE"
replace GB70_district_outcome = 2 if GB70_district_name == "ECCLES"
replace GB70_district_outcome = 2 if GB70_district_name == "EDINBURGH CENTRAL"
replace GB70_district_outcome = 2 if GB70_district_name == "EDINBURGH EAST"
replace GB70_district_outcome = 2 if GB70_district_name == "EDINBURGH LEITH"
replace GB70_district_outcome = 1 if GB70_district_name == "EDINBURGH NORTH"
replace GB70_district_outcome = 1 if GB70_district_name == "EDINBURGH PENTLANDS"
replace GB70_district_outcome = 1 if GB70_district_name == "EDINBURGH SOUTH"
replace GB70_district_outcome = 1 if GB70_district_name == "EDINBURGH WEST"
replace GB70_district_outcome = 2 if GB70_district_name == "EDMONTON"
replace GB70_district_outcome = 2 if GB70_district_name == "ENFIELD,EAST"
replace GB70_district_outcome = 1 if GB70_district_name == "ENFIELD,WEST"
replace GB70_district_outcome = 1 if GB70_district_name == "EPPING"
replace GB70_district_outcome = 1 if GB70_district_name == "EPSOM"
replace GB70_district_outcome = 2 if GB70_district_name == "ERITH AND CRAYFORD"
replace GB70_district_outcome = 1 if GB70_district_name == "ESHER"
replace GB70_district_outcome = 1 if GB70_district_name == "SOUTH EAST ESSEX"
replace GB70_district_outcome = 2 if GB70_district_name == "ETON AND SLOUGH"
replace GB70_district_outcome = 1 if GB70_district_name == "EXETER"
replace GB70_district_outcome = 1 if GB70_district_name == "EYE"
replace GB70_district_outcome = 1 if GB70_district_name == "FALMOUTH AND CAMBORNE"
replace GB70_district_outcome = 1 if GB70_district_name == "FARNHAM"
replace GB70_district_outcome = 2 if GB70_district_name == "FARNWORTH"
replace GB70_district_outcome = 1 if GB70_district_name == "FAVERSHAM"
replace GB70_district_outcome = 2 if GB70_district_name == "FELTHAM"
replace GB70_district_outcome = 5 if GB70_district_name == "FERMANAGH AND SOUTH TYRONE"
replace GB70_district_outcome = 1 if GB70_district_name == "EAST FIFE"
replace GB70_district_outcome = 2 if GB70_district_name == "WEST FIFE"
replace GB70_district_outcome = 1 if GB70_district_name == "FINCHLEY"
replace GB70_district_outcome = 2 if GB70_district_name == "EAST FLINTSHIRE"
replace GB70_district_outcome = 1 if GB70_district_name == "WEST FLINTSHIRE"
replace GB70_district_outcome = 1 if GB70_district_name == "FOLKESTONE AND HYTHE"
replace GB70_district_outcome = 2 if GB70_district_name == "FULHAM"
replace GB70_district_outcome = 1 if GB70_district_name == "GAINSBOROUGH"
replace GB70_district_outcome = 1 if GB70_district_name == "GALLOWAY"
replace GB70_district_outcome = 2 if GB70_district_name == "GATESHEAD EAST"
replace GB70_district_outcome = 2 if GB70_district_name == "GATESHEAD WEST"
replace GB70_district_outcome = 1 if GB70_district_name == "GILLINGHAM"
replace GB70_district_outcome = 2 if GB70_district_name == "GLASGOW BRIDGETON"
replace GB70_district_outcome = 1 if GB70_district_name == "GLASGOW CATHCART"
replace GB70_district_outcome = 2 if GB70_district_name == "GLASGOW CENTRAL"
replace GB70_district_outcome = 2 if GB70_district_name == "GLASGOW CRAIGTON"
replace GB70_district_outcome = 2 if GB70_district_name == "GLASGOW GORBALS"
replace GB70_district_outcome = 2 if GB70_district_name == "GLASGOW GOVAN"
replace GB70_district_outcome = 1 if GB70_district_name == "GLASGOW HILLHEAD"
replace GB70_district_outcome = 2 if GB70_district_name == "GLASGOW KELVINGROVE"
replace GB70_district_outcome = 2 if GB70_district_name == "GLASGOW MARYHILL"
replace GB70_district_outcome = 2 if GB70_district_name == "GLASGOW POLLOK"
replace GB70_district_outcome = 2 if GB70_district_name == "GLASGOW PROVAN"
replace GB70_district_outcome = 2 if GB70_district_name == "GLASGOW SCOTSTOUN"
replace GB70_district_outcome = 2 if GB70_district_name == "GLASGOW SHETTLESTON"
replace GB70_district_outcome = 2 if GB70_district_name == "GLASGOW SPRINGBURN"
replace GB70_district_outcome = 2 if GB70_district_name == "GLASGOW WOODSIDE"
replace GB70_district_outcome = 1 if GB70_district_name == "GLOUCESTER"
replace GB70_district_outcome = 1 if GB70_district_name == "SOUTH GLOUCESTERSHIRE"
replace GB70_district_outcome = 2 if GB70_district_name == "WEST GLOUCESTERSHIRE"
replace GB70_district_outcome = 2 if GB70_district_name == "GOOLE"
replace GB70_district_outcome = 1 if GB70_district_name == "GOSPORT AND FAREHAM"
replace GB70_district_outcome = 2 if GB70_district_name == "GOWER"
replace GB70_district_outcome = 1 if GB70_district_name == "GRANTHAM"
replace GB70_district_outcome = 1 if GB70_district_name == "GRAVESEND"
replace GB70_district_outcome = 2 if GB70_district_name == "GREENOCK"
replace GB70_district_outcome = 2 if GB70_district_name == "GREENWICH"
replace GB70_district_outcome = 2 if GB70_district_name == "GRIMSBY"
replace GB70_district_outcome = 1 if GB70_district_name == "GUILDFORD"
replace GB70_district_outcome = 2 if GB70_district_name == "HACKNEY CENTRAL"
replace GB70_district_outcome = 2 if GB70_district_name == "HALIFAX"
replace GB70_district_outcome = 1 if GB70_district_name == "HALTEMPRICE"
replace GB70_district_outcome = 2 if GB70_district_name == "HAMILTON"
replace GB70_district_outcome = 2 if GB70_district_name == "HAMMERSMITH NORTH"
replace GB70_district_outcome = 1 if GB70_district_name == "HAMPSTEAD"
replace GB70_district_outcome = 1 if GB70_district_name == "HARBOROUGH"
replace GB70_district_outcome = 1 if GB70_district_name == "HARROGATE"
replace GB70_district_outcome = 1 if GB70_district_name == "HARROW,CENTRAL"
replace GB70_district_outcome = 1 if GB70_district_name == "HARROW,EAST"
replace GB70_district_outcome = 1 if GB70_district_name == "HARROW,WEST"
replace GB70_district_outcome = 2 if GB70_district_name == "THE HARTLEPOOLS"
replace GB70_district_outcome = 1 if GB70_district_name == "HARWICH"
replace GB70_district_outcome = 1 if GB70_district_name == "HASTINGS"
replace GB70_district_outcome = 2 if GB70_district_name == "HAYES AND HARLINGTON"
replace GB70_district_outcome = 1 if GB70_district_name == "HEMEL HEMPSTEAD"
replace GB70_district_outcome = 2 if GB70_district_name == "HEMSWORTH"
replace GB70_district_outcome = 1 if GB70_district_name == "HENDON,NORTH"
replace GB70_district_outcome = 1 if GB70_district_name == "HENDON,SOUTH"
replace GB70_district_outcome = 1 if GB70_district_name == "HENLEY"
replace GB70_district_outcome = 1 if GB70_district_name == "HEREFORD"
replace GB70_district_outcome = 1 if GB70_district_name == "HERTFORD"
replace GB70_district_outcome = 1 if GB70_district_name == "EAST HERTFORDSHIRE"
replace GB70_district_outcome = 1 if GB70_district_name == "SOUTH WEST HERTFORDSHIRE"
replace GB70_district_outcome = 1 if GB70_district_name == "HESTON AND ISLEWORTH"
replace GB70_district_outcome = 1 if GB70_district_name == "HEXHAM"
replace GB70_district_outcome = 2 if GB70_district_name == "HEYWOOD AND ROYTON"
replace GB70_district_outcome = 1 if GB70_district_name == "HIGH PEAK"
replace GB70_district_outcome = 2 if GB70_district_name == "HITCHIN"
replace GB70_district_outcome = 2 if GB70_district_name == "HOLBORN AND ST.PANCRAS"
replace GB70_district_outcome = 1 if GB70_district_name == "HOLLAND WITH BOSTON"
replace GB70_district_outcome = 1 if GB70_district_name == "HONITON"
replace GB70_district_outcome = 1 if GB70_district_name == "HORNCASTLE"
replace GB70_district_outcome = 1 if GB70_district_name == "HORNCHURCH"
replace GB70_district_outcome = 1 if GB70_district_name == "HORNSEY"
replace GB70_district_outcome = 1 if GB70_district_name == "HORSHAM"
replace GB70_district_outcome = 2 if GB70_district_name == "HOUGHTON-LE-SPRING"
replace GB70_district_outcome = 1 if GB70_district_name == "HOVE"
replace GB70_district_outcome = 1 if GB70_district_name == "HOWDEN"
replace GB70_district_outcome = 2 if GB70_district_name == "HUDDERSFIELD,EAST"
replace GB70_district_outcome = 2 if GB70_district_name == "HUDDERSFIELD,WEST"
replace GB70_district_outcome = 1 if GB70_district_name == "HUNTINGDONSHIRE"
replace GB70_district_outcome = 2 if GB70_district_name == "HUYTON"
replace GB70_district_outcome = 1 if GB70_district_name == "ILFORD,NORTH"
replace GB70_district_outcome = 1 if GB70_district_name == "ILFORD,SOUTH"
replace GB70_district_outcome = 2 if GB70_district_name == "ILKESTON"
replace GB70_district_outcome = 2 if GB70_district_name == "INCE"
replace GB70_district_outcome = 3 if GB70_district_name == "INVERNESS"
replace GB70_district_outcome = 1 if GB70_district_name == "IPSWICH"
replace GB70_district_outcome = 1 if GB70_district_name == "THE ISLE OF ELY"
replace GB70_district_outcome = 1 if GB70_district_name == "ISLE OF THANET"
replace GB70_district_outcome = 1 if GB70_district_name == "ISLE OF WIGHT"
replace GB70_district_outcome = 2 if GB70_district_name == "ISLINGTON,EAST"
replace GB70_district_outcome = 2 if GB70_district_name == "ISLINGTON,NORTH"
replace GB70_district_outcome = 2 if GB70_district_name == "ISLINGTON,SOUTH WEST"
replace GB70_district_outcome = 2 if GB70_district_name == "JARROW"
replace GB70_district_outcome = 1 if GB70_district_name == "KEIGHLEY"
replace GB70_district_outcome = 2 if GB70_district_name == "KENSINGTON,NORTH"
replace GB70_district_outcome = 1 if GB70_district_name == "KENSINGTON,SOUTH"
replace GB70_district_outcome = 2 if GB70_district_name == "KETTERING"
replace GB70_district_outcome = 1 if GB70_district_name == "KIDDERMINSTER"
replace GB70_district_outcome = 2 if GB70_district_name == "KILMARNOCK"
replace GB70_district_outcome = 1 if GB70_district_name == "KING'S LYNN"
replace GB70_district_outcome = 2 if GB70_district_name == "KINGSTON-UPON-HULL EAST"
replace GB70_district_outcome = 2 if GB70_district_name == "KINGSTON-UPON-HULL NORTH"
replace GB70_district_outcome = 2 if GB70_district_name == "KINGSTON-UPON-HULL WEST"
replace GB70_district_outcome = 1 if GB70_district_name == "KINGSTON UPON THAMES"
replace GB70_district_outcome = 1 if GB70_district_name == "KINROSS AND WEST PERTHSHIRE"
replace GB70_district_outcome = 2 if GB70_district_name == "KIRKCALDY BURGHS"
replace GB70_district_outcome = 1 if GB70_district_name == "KNUTSFORD"
replace GB70_district_outcome = 2 if GB70_district_name == "LAMBETH,BRIXTON"
replace GB70_district_outcome = 2 if GB70_district_name == "LAMBETH,NORWOOD"
replace GB70_district_outcome = 2 if GB70_district_name == "LAMBETH,VAUXHALL"
replace GB70_district_outcome = 2 if GB70_district_name == "LANARK"
replace GB70_district_outcome = 2 if GB70_district_name == "NORTH LANARKSHIRE"
replace GB70_district_outcome = 1 if GB70_district_name == "LANCASTER"
replace GB70_district_outcome = 2 if GB70_district_name == "LEEDS,EAST"
replace GB70_district_outcome = 1 if GB70_district_name == "LEEDS,NORTH EAST"
replace GB70_district_outcome = 1 if GB70_district_name == "LEEDS,NORTH WEST"
replace GB70_district_outcome = 2 if GB70_district_name == "LEEDS,SOUTH"
replace GB70_district_outcome = 2 if GB70_district_name == "LEEDS,SOUTH EAST"
replace GB70_district_outcome = 2 if GB70_district_name == "LEEDS,WEST"
replace GB70_district_outcome = 1 if GB70_district_name == "LEEK"
replace GB70_district_outcome = 2 if GB70_district_name == "LEICESTER,NORTH EAST"
replace GB70_district_outcome = 2 if GB70_district_name == "LEICESTER,NORTH WEST"
replace GB70_district_outcome = 1 if GB70_district_name == "LEICESTER,SOUTH EAST"
replace GB70_district_outcome = 1 if GB70_district_name == "LEICESTER,SOUTH WEST"
replace GB70_district_outcome = 2 if GB70_district_name == "LEIGH"
replace GB70_district_outcome = 1 if GB70_district_name == "LEOMINSTER"
replace GB70_district_outcome = 1 if GB70_district_name == "LEWES"
replace GB70_district_outcome = 2 if GB70_district_name == "LEWISHAM,NORTH"
replace GB70_district_outcome = 2 if GB70_district_name == "LEWISHAM,SOUTH"
replace GB70_district_outcome = 1 if GB70_district_name == "LEWISHAM,WEST"
replace GB70_district_outcome = 2 if GB70_district_name == "LEYTON"
replace GB70_district_outcome = 1 if GB70_district_name == "LICHFIELD AND TAMWORTH"
replace GB70_district_outcome = 2 if GB70_district_name == "LINCOLN"
replace GB70_district_outcome = 2 if GB70_district_name == "LIVERPOOL,EDGE HILL"
replace GB70_district_outcome = 2 if GB70_district_name == "LIVERPOOL,EXCHANGE"
replace GB70_district_outcome = 1 if GB70_district_name == "LIVERPOOL,GARSTON"
replace GB70_district_outcome = 2 if GB70_district_name == "LIVERPOOL,KIRKDALE"
replace GB70_district_outcome = 2 if GB70_district_name == "LIVERPOOL,SCOTLAND"
replace GB70_district_outcome = 2 if GB70_district_name == "LIVERPOOL,TOXTETH"
replace GB70_district_outcome = 2 if GB70_district_name == "LIVERPOOL,WALTON"
replace GB70_district_outcome = 1 if GB70_district_name == "LIVERPOOL,WAVERTREE"
replace GB70_district_outcome = 2 if GB70_district_name == "LIVERPOOL,WEST DERBY"
replace GB70_district_outcome = 2 if GB70_district_name == "LLANELLI"
replace GB70_district_outcome = 1 if GB70_district_name == "CITIES OF LONDON AND WESTMINSTER"
replace GB70_district_outcome = 1 if GB70_district_name == "LONDONDERRY COUNTY"
replace GB70_district_outcome = 2 if GB70_district_name == "LOUGHBOROUGH"
replace GB70_district_outcome = 1 if GB70_district_name == "LOUTH"
replace GB70_district_outcome = 1 if GB70_district_name == "LOWESTOFT"
replace GB70_district_outcome = 1 if GB70_district_name == "LUDLOW"
replace GB70_district_outcome = 1 if GB70_district_name == "LUTON"
replace GB70_district_outcome = 1 if GB70_district_name == "MACCLESFIELD"
replace GB70_district_outcome = 1 if GB70_district_name == "MAIDSTONE"
replace GB70_district_outcome = 1 if GB70_district_name == "MALDON"
replace GB70_district_outcome = 2 if GB70_district_name == "MANCHESTER,ARDWICK"
replace GB70_district_outcome = 2 if GB70_district_name == "MANCHESTER,BLACKLEY"
replace GB70_district_outcome = 2 if GB70_district_name == "MANCHESTER,CHEETHAM"
replace GB70_district_outcome = 2 if GB70_district_name == "MANCHESTER,EXCHANGE"
replace GB70_district_outcome = 2 if GB70_district_name == "MANCHESTER,GORTON"
replace GB70_district_outcome = 1 if GB70_district_name == "MANCHESTER,MOSS SIDE"
replace GB70_district_outcome = 2 if GB70_district_name == "MANCHESTER,OPENSHAW"
replace GB70_district_outcome = 1 if GB70_district_name == "MANCHESTER,WITHINGTON"
replace GB70_district_outcome = 2 if GB70_district_name == "MANCHESTER,WYTHENSHAWE"
replace GB70_district_outcome = 2 if GB70_district_name == "MANSFIELD"
replace GB70_district_outcome = 1 if GB70_district_name == "MELTON"
replace GB70_district_outcome = 1 if GB70_district_name == "MERIDEN"
replace GB70_district_outcome = 2 if GB70_district_name == "MERIONETH"
replace GB70_district_outcome = 5 if GB70_district_name == "MERTHYR TYDFIL"
replace GB70_district_outcome = 1 if GB70_district_name == "MERTON AND MORDEN"
replace GB70_district_outcome = 2 if GB70_district_name == "MIDDLESBROUGH,EAST"
replace GB70_district_outcome = 1 if GB70_district_name == "MIDDLESBROUGH,WEST"
replace GB70_district_outcome = 1 if GB70_district_name == "MIDDLETON AND PRESTWICK"
replace GB70_district_outcome = 2 if GB70_district_name == "MIDLOTHIAN"
replace GB70_district_outcome = 1 if GB70_district_name == "MITCHAM"
replace GB70_district_outcome = 1 if GB70_district_name == "MONMOUTH"
replace GB70_district_outcome = 3 if GB70_district_name == "MONTGOMERY"
replace GB70_district_outcome = 1 if GB70_district_name == "MORAY AND NAIRN"
replace GB70_district_outcome = 1 if GB70_district_name == "MORECAMBE AND LONSDALE"
replace GB70_district_outcome = 2 if GB70_district_name == "MORPETH"
replace GB70_district_outcome = 2 if GB70_district_name == "MOTHERWELL"
replace GB70_district_outcome = 1 if GB70_district_name == "NANTWICH"
replace GB70_district_outcome = 2 if GB70_district_name == "NEATH"
replace GB70_district_outcome = 1 if GB70_district_name == "NELSON AND COLNE"
replace GB70_district_outcome = 2 if GB70_district_name == "NEWARK"
replace GB70_district_outcome = 1 if GB70_district_name == "NEWBURY"
replace GB70_district_outcome = 2 if GB70_district_name == "NEWCASTLE UNDER LYME"
replace GB70_district_outcome = 2 if GB70_district_name == "NEWCASTLE-UPON-TYNE CENTRAL"
replace GB70_district_outcome = 2 if GB70_district_name == "NEWCASTLE-UPON-TYNE EAST"
replace GB70_district_outcome = 1 if GB70_district_name == "NEWCASTLE-UPON-TYNE NORTH"
replace GB70_district_outcome = 2 if GB70_district_name == "NEWCASTLE-UPONTYNE WEST"
replace GB70_district_outcome = 1 if GB70_district_name == "NEW FOREST"
replace GB70_district_outcome = 2 if GB70_district_name == "NEWPORT"
replace GB70_district_outcome = 2 if GB70_district_name == "NEWTON"
replace GB70_district_outcome = 1 if GB70_district_name == "CENTRAL NORFOLK"
replace GB70_district_outcome = 1 if GB70_district_name == "NORTH NORFOLK"
replace GB70_district_outcome = 1 if GB70_district_name == "SOUTH NORFOLK"
replace GB70_district_outcome = 1 if GB70_district_name == "SOUTH WEST NORFOLK"
replace GB70_district_outcome = 2 if GB70_district_name == "NORMANTON"
replace GB70_district_outcome = 2 if GB70_district_name == "NORTHAMPTON"
replace GB70_district_outcome = 1 if GB70_district_name == "SOUTH NORTHAMPTONSHIRE"
replace GB70_district_outcome = 1 if GB70_district_name == "NORTH FYLDE"
replace GB70_district_outcome = 1 if GB70_district_name == "NORTHWICH"
replace GB70_district_outcome = 2 if GB70_district_name == "NORWICH,NORTH"
replace GB70_district_outcome = 1 if GB70_district_name == "NORWICH,SOUTH"
replace GB70_district_outcome = 2 if GB70_district_name == "NOTTINGHAM,CENTRAL"
replace GB70_district_outcome = 2 if GB70_district_name == "NOTTINGHAM,NORTH"
replace GB70_district_outcome = 1 if GB70_district_name == "NOTTINGHAM,SOUTH"
replace GB70_district_outcome = 2 if GB70_district_name == "NOTTINGHAM,WEST"
replace GB70_district_outcome = 2 if GB70_district_name == "NUNEATON"
replace GB70_district_outcome = 2 if GB70_district_name == "OGMORE"
replace GB70_district_outcome = 1 if GB70_district_name == "OLDBURY AND HALESOWEN"
replace GB70_district_outcome = 2 if GB70_district_name == "OLDHAM,EAST"
replace GB70_district_outcome = 2 if GB70_district_name == "OLDHAM,WEST"
replace GB70_district_outcome = 3 if GB70_district_name == "ORKNEY AND ZETLAND"
replace GB70_district_outcome = 1 if GB70_district_name == "ORMSKIRK"
replace GB70_district_outcome = 1 if GB70_district_name == "ORPINGTON"
replace GB70_district_outcome = 1 if GB70_district_name == "OSWESTRY"
replace GB70_district_outcome = 1 if GB70_district_name == "OXFORD"
replace GB70_district_outcome = 2 if GB70_district_name == "PADDINGTON,NORTH"
replace GB70_district_outcome = 1 if GB70_district_name == "PADDINGTON,SOUTH"
replace GB70_district_outcome = 2 if GB70_district_name == "PAISLEY"
replace GB70_district_outcome = 1 if GB70_district_name == "PEMBROKE"
replace GB70_district_outcome = 2 if GB70_district_name == "PENISTONE"
replace GB70_district_outcome = 1 if GB70_district_name == "PENRITH AND THE BORDERS"
replace GB70_district_outcome = 1 if GB70_district_name == "PERTH AND EAST PERTHSHIRE"
replace GB70_district_outcome = 1 if GB70_district_name == "PETERBOROUGH"
replace GB70_district_outcome = 1 if GB70_district_name == "PETERSFIELD"
replace GB70_district_outcome = 1 if GB70_district_name == "PLYMOUTH,DEVONPORT"
replace GB70_district_outcome = 2 if GB70_district_name == "PLYMOUTH,SUTTON"
replace GB70_district_outcome = 2 if GB70_district_name == "PONTEFRACT"
replace GB70_district_outcome = 2 if GB70_district_name == "PONTYPOOL"
replace GB70_district_outcome = 2 if GB70_district_name == "PONTYPRIDD"
replace GB70_district_outcome = 1 if GB70_district_name == "POOLE"
replace GB70_district_outcome = 2 if GB70_district_name == "POPLAR"
replace GB70_district_outcome = 1 if GB70_district_name == "PORTSMOUTH,LANGSTON"
replace GB70_district_outcome = 1 if GB70_district_name == "PORTSMOUTH,SOUTH"
replace GB70_district_outcome = 2 if GB70_district_name == "PORTSMOUTH,WEST"
replace GB70_district_outcome = 1 if GB70_district_name == "PRESTON,NORTH"
replace GB70_district_outcome = 1 if GB70_district_name == "PRESTON,SOUTH"
replace GB70_district_outcome = 1 if GB70_district_name == "PUDSEY"
replace GB70_district_outcome = 1 if GB70_district_name == "READING"
replace GB70_district_outcome = 1 if GB70_district_name == "REIGATE"
replace GB70_district_outcome = 1 if GB70_district_name == "EAST RENFREWSHIRE"
replace GB70_district_outcome = 2 if GB70_district_name == "WEST RENFREWSHIRE"
replace GB70_district_outcome = 2 if GB70_district_name == "RHONDDA,EAST"
replace GB70_district_outcome = 2 if GB70_district_name == "RHONDDA,WEST"
replace GB70_district_outcome = 1 if GB70_district_name == "RICHMOND (SURREY)"
replace GB70_district_outcome = 1 if GB70_district_name == "RICHMOND (YORKSHIRE)"
replace GB70_district_outcome = 1 if GB70_district_name == "RIPON"
replace GB70_district_outcome = 2 if GB70_district_name == "ROCHDALE"
replace GB70_district_outcome = 1 if GB70_district_name == "ROCHESTER AND CHATHAM"
replace GB70_district_outcome = 2 if GB70_district_name == "ROMFORD"
replace GB70_district_outcome = 1 if GB70_district_name == "ROSS AND CROMARTY"
replace GB70_district_outcome = 1 if GB70_district_name == "ROSSENDALE"
replace GB70_district_outcome = 2 if GB70_district_name == "ROTHERHAM"
replace GB70_district_outcome = 2 if GB70_district_name == "ROTHER VALLEY"
replace GB70_district_outcome = 2 if GB70_district_name == "ROWLEY REGIS AND TIPTON"
replace GB70_district_outcome = 3 if GB70_district_name == "ROXBURGH, SELKIRK AND PEEBLES"
replace GB70_district_outcome = 2 if GB70_district_name == "RUGBY"
replace GB70_district_outcome = 1 if GB70_district_name == "RUISLIP-NORTHWOOD"
replace GB70_district_outcome = 1 if GB70_district_name == "RUNCORN"
replace GB70_district_outcome = 1 if GB70_district_name == "RUSHCLIFFE"
replace GB70_district_outcome = 2 if GB70_district_name == "RUTHERGLEN"
replace GB70_district_outcome = 1 if GB70_district_name == "RUTLAND AND STAMFORD"
replace GB70_district_outcome = 1 if GB70_district_name == "RYE"
replace GB70_district_outcome = 1 if GB70_district_name == "SAFFRON WALDON"
replace GB70_district_outcome = 1 if GB70_district_name == "ST.ALBANS"
replace GB70_district_outcome = 2 if GB70_district_name == "ST.HELENS"
replace GB70_district_outcome = 1 if GB70_district_name == "ST.IVES"
replace GB70_district_outcome = 1 if GB70_district_name == "ST.MARYLEBONE"
replace GB70_district_outcome = 2 if GB70_district_name == "ST.PANCRAS NORTH"
replace GB70_district_outcome = 2 if GB70_district_name == "SALFORD,EAST"
replace GB70_district_outcome = 2 if GB70_district_name == "SALFORD,WEST"
replace GB70_district_outcome = 1 if GB70_district_name == "SALISBURY"
replace GB70_district_outcome = 1 if GB70_district_name == "SCARBOROUGH AND WHITBY"
replace GB70_district_outcome = 2 if GB70_district_name == "SEDGEFIELD"
replace GB70_district_outcome = 1 if GB70_district_name == "SEVENOAKS"
replace GB70_district_outcome = 2 if GB70_district_name == "SHEFFIELD,ATTERCLIFFE"
replace GB70_district_outcome = 2 if GB70_district_name == "SHEFFIELD,BRIGHTSIDE"
replace GB70_district_outcome = 1 if GB70_district_name == "SHEFFIELD,HALLAM"
replace GB70_district_outcome = 1 if GB70_district_name == "SHEFFIELD,HEELEY"
replace GB70_district_outcome = 2 if GB70_district_name == "SHEFFIELD,HILLSBOROUGH"
replace GB70_district_outcome = 2 if GB70_district_name == "SHEFFIELD,PARK"
replace GB70_district_outcome = 1 if GB70_district_name == "SHIPLEY"
replace GB70_district_outcome = 2 if GB70_district_name == "SHOREDITCH AND FINSBURY"
replace GB70_district_outcome = 1 if GB70_district_name == "SHREWSBURY"
replace GB70_district_outcome = 1 if GB70_district_name == "SKIPTON"
replace GB70_district_outcome = 2 if GB70_district_name == "SMETHWICK"
replace GB70_district_outcome = 1 if GB70_district_name == "SOLIHULL"
replace GB70_district_outcome = 1 if GB70_district_name == "NORTH SOMERSET"
replace GB70_district_outcome = 2 if GB70_district_name == "SOUTHALL"
replace GB70_district_outcome = 2 if GB70_district_name == "SOUTHAMPTON,ITCHEN"
replace GB70_district_outcome = 1 if GB70_district_name == "SOUTHAMPTON,TEST"
replace GB70_district_outcome = 1 if GB70_district_name == "SOUTHEND EAST"
replace GB70_district_outcome = 1 if GB70_district_name == "SOUTHEND WEST"
replace GB70_district_outcome = 1 if GB70_district_name == "SOUTH FYLDE"
replace GB70_district_outcome = 1 if GB70_district_name == "SOUTHGATE"
replace GB70_district_outcome = 1 if GB70_district_name == "SOUTHPORT"
replace GB70_district_outcome = 2 if GB70_district_name == "SOUTH SHIELDS"
replace GB70_district_outcome = 2 if GB70_district_name == "SOUTHWARK"
replace GB70_district_outcome = 2 if GB70_district_name == "SOWERBY"
replace GB70_district_outcome = 1 if GB70_district_name == "SPELTHORNE"
replace GB70_district_outcome = 1 if GB70_district_name == "STAFFORD AND STONE"
replace GB70_district_outcome = 2 if GB70_district_name == "STALYBRIDGE AND HYDE"
replace GB70_district_outcome = 2 if GB70_district_name == "STEPNEY"
replace GB70_district_outcome = 2 if GB70_district_name == "STIRLING AND FALKIRK"
replace GB70_district_outcome = 2 if GB70_district_name == "CLACKMANNAN AND EAST STIRLINGSHIRE"
replace GB70_district_outcome = 2 if GB70_district_name == "WEST STIRLINGSHIRE"
replace GB70_district_outcome = 1 if GB70_district_name == "STOCKPORT NORTH"
replace GB70_district_outcome = 2 if GB70_district_name == "STOCKPORT SOUTH"
replace GB70_district_outcome = 2 if GB70_district_name == "STOCKTON-ON-TEES"
replace GB70_district_outcome = 2 if GB70_district_name == "STOKE NEWINGTON AND HACKNEY NORTH"
replace GB70_district_outcome = 2 if GB70_district_name == "STOKE ON TRENT,CENTRAL"
replace GB70_district_outcome = 2 if GB70_district_name == "STOKE ON TRENT,NORTH"
replace GB70_district_outcome = 2 if GB70_district_name == "STOKE ON TRENT,SOUTH"
replace GB70_district_outcome = 1 if GB70_district_name == "STRATFORD"
replace GB70_district_outcome = 1 if GB70_district_name == "STRETFORD"
replace GB70_district_outcome = 1 if GB70_district_name == "STROUD"
replace GB70_district_outcome = 1 if GB70_district_name == "SUDBURY AND WOODBRIDGE"
replace GB70_district_outcome = 2 if GB70_district_name == "SUNDERLAND NORTH"
replace GB70_district_outcome = 2 if GB70_district_name == "SUNDERLAND SOUTH"
replace GB70_district_outcome = 1 if GB70_district_name == "SURBITON"
replace GB70_district_outcome = 1 if GB70_district_name == "EAST SURREY"
replace GB70_district_outcome = 1 if GB70_district_name == "SUTTON AND CHEAM"
replace GB70_district_outcome = 1 if GB70_district_name == "SUTTON COLDFIELD"
replace GB70_district_outcome = 2 if GB70_district_name == "SWANSEA,EAST"
replace GB70_district_outcome = 2 if GB70_district_name == "SWANSEA,WEST"
replace GB70_district_outcome = 2 if GB70_district_name == "SWINDON"
replace GB70_district_outcome = 1 if GB70_district_name == "TAUNTON"
replace GB70_district_outcome = 1 if GB70_district_name == "TAVISTOCK"
replace GB70_district_outcome = 1 if GB70_district_name == "THIRSK AND MALTON"
replace GB70_district_outcome = 2 if GB70_district_name == "THURROCK"
replace GB70_district_outcome = 1 if GB70_district_name == "TIVERTON"
replace GB70_district_outcome = 1 if GB70_district_name == "TONBRIDGE"
replace GB70_district_outcome = 1 if GB70_district_name == "TORQUAY"
replace GB70_district_outcome = 1 if GB70_district_name == "TORRINGTON"
replace GB70_district_outcome = 1 if GB70_district_name == "TOTNES"
replace GB70_district_outcome = 2 if GB70_district_name == "TOTTENHAM"
replace GB70_district_outcome = 1 if GB70_district_name == "TRURO"
replace GB70_district_outcome = 1 if GB70_district_name == "TWICKENHAM"
replace GB70_district_outcome = 1 if GB70_district_name == "TYNEMOUTH"
replace GB70_district_outcome = 5 if GB70_district_name == "ULSTER MID"
replace GB70_district_outcome = 1 if GB70_district_name == "UXBRIDGE"
replace GB70_district_outcome = 2 if GB70_district_name == "WAKEFIELD"
replace GB70_district_outcome = 1 if GB70_district_name == "WALLASEY"
replace GB70_district_outcome = 2 if GB70_district_name == "WALLSEND"
replace GB70_district_outcome = 2 if GB70_district_name == "WALSALL,NORTH"
replace GB70_district_outcome = 1 if GB70_district_name == "WALSALL,SOUTH"
replace GB70_district_outcome = 1 if GB70_district_name == "WALTHAMSTOW,EAST"
replace GB70_district_outcome = 2 if GB70_district_name == "WALTHAMSTOW,WEST"
replace GB70_district_outcome = 2 if GB70_district_name == "WANDSWORTH,CENTRAL"
replace GB70_district_outcome = 1 if GB70_district_name == "WANDSWORTH,CLAPHAM"
replace GB70_district_outcome = 2 if GB70_district_name == "WANDSWORTH,PUTNEY"
replace GB70_district_outcome = 1 if GB70_district_name == "WANDSWORTH,STREATHAM"
replace GB70_district_outcome = 1 if GB70_district_name == "WANSTEAD AND WOODFORD"
replace GB70_district_outcome = 2 if GB70_district_name == "WARRINGTON"
replace GB70_district_outcome = 1 if GB70_district_name == "WARWICK AND LEAMINGTON"
replace GB70_district_outcome = 2 if GB70_district_name == "WATFORD"
replace GB70_district_outcome = 2 if GB70_district_name == "WEDNESBURY"
replace GB70_district_outcome = 1 if GB70_district_name == "WELLINGBOROUGH"
replace GB70_district_outcome = 1 if GB70_district_name == "WELLS"
replace GB70_district_outcome = 1 if GB70_district_name == "WEMBLEY NORTH"
replace GB70_district_outcome = 1 if GB70_district_name == "WEMBLEY SOUTH"
replace GB70_district_outcome = 2 if GB70_district_name == "WEST BROMWICH"
replace GB70_district_outcome = 1 if GB70_district_name == "WESTBURY"
replace GB70_district_outcome = 4 if GB70_district_name == "WESTERN ISLES"
replace GB70_district_outcome = 2 if GB70_district_name == "WEST HAM NORTH"
replace GB70_district_outcome = 2 if GB70_district_name == "WEST HAM SOUTH"
replace GB70_district_outcome = 2 if GB70_district_name == "WESTHOUGHTON"
replace GB70_district_outcome = 2 if GB70_district_name == "WEST LOTHIAN"
replace GB70_district_outcome = 1 if GB70_district_name == "WESTMORLAND"
replace GB70_district_outcome = 1 if GB70_district_name == "WESTON SUPER MARE"
replace GB70_district_outcome = 2 if GB70_district_name == "WHITEHAVEN"
replace GB70_district_outcome = 2 if GB70_district_name == "WIDNES"
replace GB70_district_outcome = 2 if GB70_district_name == "WIGAN"
replace GB70_district_outcome = 2 if GB70_district_name == "WILLESDEN,EAST"
replace GB70_district_outcome = 2 if GB70_district_name == "WILLESDEN,WEST"
replace GB70_district_outcome = 1 if GB70_district_name == "WIMBLEDON"
replace GB70_district_outcome = 1 if GB70_district_name == "WINCHESTER"
replace GB70_district_outcome = 1 if GB70_district_name == "WINDSOR"
replace GB70_district_outcome = 1 if GB70_district_name == "WIRRAL"
replace GB70_district_outcome = 1 if GB70_district_name == "WOKING"
replace GB70_district_outcome = 1 if GB70_district_name == "WOKINGHAM"
replace GB70_district_outcome = 2 if GB70_district_name == "WOLVERHAMPTON NORTH EAST"
replace GB70_district_outcome = 1 if GB70_district_name == "WOLVERHAMPTON SOUTH WEST"
replace GB70_district_outcome = 2 if GB70_district_name == "WOOD GREEN"
replace GB70_district_outcome = 2 if GB70_district_name == "WOOLWICH,EAST"
replace GB70_district_outcome = 2 if GB70_district_name == "WOOLWICH,WEST"
replace GB70_district_outcome = 1 if GB70_district_name == "WORCESTER"
replace GB70_district_outcome = 1 if GB70_district_name == "SOUTH WORCESTERSHIRE"
replace GB70_district_outcome = 2 if GB70_district_name == "WORKINGTON"
replace GB70_district_outcome = 1 if GB70_district_name == "WORTHING"
replace GB70_district_outcome = 1 if GB70_district_name == "THE WREKIN"
replace GB70_district_outcome = 2 if GB70_district_name == "WREXHAM"
replace GB70_district_outcome = 1 if GB70_district_name == "WYCOMBE"
replace GB70_district_outcome = 1 if GB70_district_name == "YARMOUTH"
replace GB70_district_outcome = 1 if GB70_district_name == "YEOVIL"
replace GB70_district_outcome = 2 if GB70_district_name == "YORK"


********************************************
** COMPETITIVENESS: 1970 GENERAL ELECTION **
********************************************

* Margin of victory by district

gen GB70_margin = .

replace GB70_margin = 44.69806 if GB70_district_name == "ABERAVON"
replace GB70_margin = 29.92457 if GB70_district_name == "ABERDARE"
replace GB70_margin = 40.11115 if GB70_district_name == "ABERDEEN NORTH"
replace GB70_margin = 2.07393 if GB70_district_name == "ABERDEEN SOUTH"
replace GB70_margin = 11.09486 if GB70_district_name == "EAST ABERDEENSHIRE"
replace GB70_margin = 14.04952 if GB70_district_name == "WEST ABERDEENSHIRE"
replace GB70_margin = 68.95679 if GB70_district_name == "ABERTILLERY"
replace GB70_margin = 19.64594 if GB70_district_name == "ABINGDON"
replace GB70_margin = 1.446593 if GB70_district_name == "ACCRINGTON"
replace GB70_margin = 2.267963 if GB70_district_name == "ACTON"
replace GB70_margin = 24.2531 if GB70_district_name == "ALDERSHOT"
replace GB70_margin = 21.41659 if GB70_district_name == "ALTRINCHAM AND SALE"
replace GB70_margin = 14.67578 if GB70_district_name == "ANGLESEY"
replace GB70_margin = 34.67905 if GB70_district_name == "NORTH ANGUS AND MEARNS"
replace GB70_margin = 33.04491 if GB70_district_name == "SOUTH ANGUS"
replace GB70_margin = 11.9223 if GB70_district_name == "ANTRIM NORTH"
replace GB70_margin = 40.65553 if GB70_district_name == "ANTRIM SOUTH"
replace GB70_margin = 14.8445 if GB70_district_name == "ARGYLL"
replace GB70_margin = 23.43713 if GB70_district_name == "ARMAGH"
replace GB70_margin = 37.91322 if GB70_district_name == "ARUNDEL AND SHOREHAM"
replace GB70_margin = 36.41516 if GB70_district_name == "ASHFIELD"
replace GB70_margin = 25.95703 if GB70_district_name == "ASHFORD"
replace GB70_margin = 9.006834 if GB70_district_name == "ASHTON UNDER LYNE"
replace GB70_margin = 18.23243 if GB70_district_name == "AYLESBURY"
replace GB70_margin = 10.55102 if GB70_district_name == "AYR"
replace GB70_margin = 10.60713 if GB70_district_name == "CENTRAL AYRSHIRE"
replace GB70_margin = 18.18337 if GB70_district_name == "BUTE AND NORTH AYRSHIRE"
replace GB70_margin = 31.62479 if GB70_district_name == "SOUTH AYRSHIRE"
replace GB70_margin = 16.79736 if GB70_district_name == "BANBURY"
replace GB70_margin = 15.79622 if GB70_district_name == "BANFF"
replace GB70_margin = 38.76867 if GB70_district_name == "BARKING"
replace GB70_margin = 19.19606 if GB70_district_name == "BARKSTON ASH"
replace GB70_margin = 16.90495 if GB70_district_name == "BARNET"
replace GB70_margin = 44.75191 if GB70_district_name == "BARNSLEY"
replace GB70_margin = 3.967827 if GB70_district_name == "BARONS COURT"
replace GB70_margin = 12.17949 if GB70_district_name == "BARROW IN FURNESS"
replace GB70_margin = 14.58708 if GB70_district_name == "BARRY"
replace GB70_margin = 13.73342 if GB70_district_name == "BASINGSTOKE"
replace GB70_margin = 15.65117 if GB70_district_name == "BASSETLAW"
replace GB70_margin = 12.82158 if GB70_district_name == "BATH"
replace GB70_margin = 15.92074 if GB70_district_name == "BATLEY AND MORLEY"
replace GB70_margin = 37.73606 if GB70_district_name == "BATTERSEA,NORTH"
replace GB70_margin = 7.700331 if GB70_district_name == "BATTERSEA,SOUTH"
replace GB70_margin = 1.173234 if GB70_district_name == "BEBINGTON"
replace GB70_margin = 33.33208 if GB70_district_name == "BECKENHAM"
replace GB70_margin = 10.12836 if GB70_district_name == "BEDFORD"
replace GB70_margin = 18.82168 if GB70_district_name == "MID-BEDFORDSHIRE"
replace GB70_margin = 6.369965 if GB70_district_name == "SOUTH BEDFORDSHIRE"
replace GB70_margin = 59.16297 if GB70_district_name == "BEDWELLTY"
replace GB70_margin = 18.91556 if GB70_district_name == "BELFAST EAST"
replace GB70_margin = 16.51683 if GB70_district_name == "BELFAST NORTH"
replace GB70_margin = 40.81862 if GB70_district_name == "BELFAST SOUTH"
replace GB70_margin = 5.504303 if GB70_district_name == "BELFAST WEST"
replace GB70_margin = 3.06096 if GB70_district_name == "BELPER"
replace GB70_margin = 53.84956 if GB70_district_name == "BERMONDSEY"
replace GB70_margin = 1.38421 if GB70_district_name == "BERWICK AND EAST LOTHIAN"
replace GB70_margin = 23.26452 if GB70_district_name == "BERWICK UPON TWEED"
replace GB70_margin = 41.11494 if GB70_district_name == "BETHNAL GREEN"
replace GB70_margin = 15.77371 if GB70_district_name == "BEXLEY"
replace GB70_margin = 4.322067 if GB70_district_name == "BILLERICAY"
replace GB70_margin = 1.869858 if GB70_district_name == "BILSTON"
replace GB70_margin = 14.07699 if GB70_district_name == "BIRKENHEAD"
replace GB70_margin = 19.3848 if GB70_district_name == "BIRMINGHAM,ALL SAINTS"
replace GB70_margin = 12.69694 if GB70_district_name == "BIRMINGHAM,ASTON"
replace GB70_margin = 28.41012 if GB70_district_name == "BIRMINGHAM,EDGBASTON"
replace GB70_margin = 20.74963 if GB70_district_name == "BIRMINGHAM,HALL GREEN"
replace GB70_margin = 5.954258 if GB70_district_name == "BIRMINGHAM,HANDSWORTH"
replace GB70_margin = 8.392567 if GB70_district_name == "BIRMINGHAM,LADYWOOD"
replace GB70_margin = 1.839164 if GB70_district_name == "BIRMINGHAM,NORTHFIED"
replace GB70_margin = 3.627507 if GB70_district_name == "BIRMINGHAM,PERRY BARR"
replace GB70_margin = 4.346585 if GB70_district_name == "BIRMINGHAM,SELLY OAK"
replace GB70_margin = 30.41881 if GB70_district_name == "BIRMINGHAM,SMALL HEATH"
replace GB70_margin = 11.94445 if GB70_district_name == "BIRMINGHAM,SPARKBROOK"
replace GB70_margin = 16.71773 if GB70_district_name == "BIRMINGHAM,STECHFORD"
replace GB70_margin = .2756466 if GB70_district_name == "BIRMINGHAM,YARDLEY"
replace GB70_margin = 21.3784 if GB70_district_name == "BISHOP AUCKLAND"
replace GB70_margin = 6.481876 if GB70_district_name == "BLACKBURN"
replace GB70_margin = 22.9147 if GB70_district_name == "BLACKPOOL,NORTH"
replace GB70_margin = 19.8808 if GB70_district_name == "BLACKPOOL,SOUTH"
replace GB70_margin = 29.75536 if GB70_district_name == "BLAYDON"
replace GB70_margin = 48.42607 if GB70_district_name == "BLYTH"
replace GB70_margin = 9.377093 if GB70_district_name == "BODMIN"
replace GB70_margin = 54.99583 if GB70_district_name == "BOLSOVER"
replace GB70_margin = 1.045111 if GB70_district_name == "BOLTON,EAST"
replace GB70_margin = 3.343547 if GB70_district_name == "BOLTON,WEST"
replace GB70_margin = 27.25432 if GB70_district_name == "BOOTLE"
replace GB70_margin = 1.746428 if GB70_district_name == "BOSWORTH"
replace GB70_margin = 22.17231 if GB70_district_name == "BOTHWELL"
replace GB70_margin = 41.11869 if GB70_district_name == "BOURNEMOUTH EAST AND CHRISTCHURCH"
replace GB70_margin = 28.59183 if GB70_district_name == "BOURNEMOUTH WEST"
replace GB70_margin = 34.85923 if GB70_district_name == "BRADFORD,EAST"
replace GB70_margin = 4.217117 if GB70_district_name == "BRADFORD,NORTH"
replace GB70_margin = 4.324987 if GB70_district_name == "BRADFORD,SOUTH"
replace GB70_margin = 3.905001 if GB70_district_name == "BRADFORD,WEST"
replace GB70_margin = 11.227 if GB70_district_name == "BRECON AND RADNOR"
replace GB70_margin = 1.859437 if GB70_district_name == "BRENTFORD AND CHISWICK"
replace GB70_margin = 16.59833 if GB70_district_name == "BRIDGWATER"
replace GB70_margin = 31.34311 if GB70_district_name == "BRIDLINGTON"
replace GB70_margin = 21.26795 if GB70_district_name == "BRIERLEY HILL"
replace GB70_margin = 6.767658 if GB70_district_name == "BRIGG"
replace GB70_margin = .1188845 if GB70_district_name == "BRIGHOUSE AND SPENBOROUGH"
replace GB70_margin = 6.31384 if GB70_district_name == "BRIGHTON,KEMPTOWN"
replace GB70_margin = 26.92865 if GB70_district_name == "BRIGHTON,PAVILION"
replace GB70_margin = 13.47927 if GB70_district_name == "BRISTOL,CENTRAL"
replace GB70_margin = 1.003345 if GB70_district_name == "BRISTOL,NORTH EAST"
replace GB70_margin = 2.068014 if GB70_district_name == "BRISTOL,NORTH WEST"
replace GB70_margin = 23.60777 if GB70_district_name == "BRISTOL,SOUTH"
replace GB70_margin = 10.80055 if GB70_district_name == "BRISTOL,SOUTH EAST"
replace GB70_margin = 35.74102 if GB70_district_name == "BRISTOL,WEST"
replace GB70_margin = 34.60211 if GB70_district_name == "BROMLEY"
replace GB70_margin = 16.934 if GB70_district_name == "BROMSGROVE"
replace GB70_margin = 4.263487 if GB70_district_name == "BUCKINGHAM"
replace GB70_margin = 34.53864 if GB70_district_name == "SOUTH BUCKINGHAMSHIRE"
replace GB70_margin = 22.01356 if GB70_district_name == "BURNLEY"
replace GB70_margin = 8.645105 if GB70_district_name == "BURTON"
replace GB70_margin = 5.68206 if GB70_district_name == "BURY AND RADCLIFFE"
replace GB70_margin = 22.34635 if GB70_district_name == "BURY ST.EDMUNDS"
replace GB70_margin = 6.7599 if GB70_district_name == "CAERNARVON"
replace GB70_margin = 33.33911 if GB70_district_name == "CAERPHILLY"
replace GB70_margin = 11.33934 if GB70_district_name == "CAITHNESS AND SUTHERLAND"
replace GB70_margin = 2.096215 if GB70_district_name == "CAMBERWELL,DULWICH"
replace GB70_margin = 34.93262 if GB70_district_name == "CAMBERWELL,PECKHAM"
replace GB70_margin = 10.66754 if GB70_district_name == "CAMBRIDGE"
replace GB70_margin = 20.75679 if GB70_district_name == "CAMBRIDGESHIRE"
replace GB70_margin = 2.396514 if GB70_district_name == "CANNOCK"
replace GB70_margin = 30.10993 if GB70_district_name == "CANTERBURY"
replace GB70_margin = 3.793413 if GB70_district_name == "CARDIFF,NORTH"
replace GB70_margin = 10.78831 if GB70_district_name == "CARDIFF,SOUTH EAST"
replace GB70_margin = 13.27893 if GB70_district_name == "CARDIFF,WEST"
replace GB70_margin = 3.818479 if GB70_district_name == "CARDIGAN"
replace GB70_margin = 6.385774 if GB70_district_name == "CARLISLE"
replace GB70_margin = 19.13341 if GB70_district_name == "CARLTON"
replace GB70_margin = 7.938959 if GB70_district_name == "CARMARTHEN"
replace GB70_margin = 20.6243 if GB70_district_name == "CARSHALTON"
replace GB70_margin = 2.045147 if GB70_district_name == "CHEADLE"
replace GB70_margin = 19.53357 if GB70_district_name == "CHELMSFORD"
replace GB70_margin = 41.73027 if GB70_district_name == "CHELSEA"
replace GB70_margin = 18.93681 if GB70_district_name == "CHELTENHAM"
replace GB70_margin = 24.0718 if GB70_district_name == "CHERTSEY"
replace GB70_margin = 14.08692 if GB70_district_name == "CITY OF CHESTER"
replace GB70_margin = 27.51583 if GB70_district_name == "CHESTERFIELD"
replace GB70_margin = 43.20505 if GB70_district_name == "CHESTER-LE-STREET"
replace GB70_margin = 41.94814 if GB70_district_name == "CHICHESTER"
replace GB70_margin = 19.00126 if GB70_district_name == "CHIGWELL"
replace GB70_margin = 21.5013 if GB70_district_name == "CHIPPENHAM"
replace GB70_margin = 6.698536 if GB70_district_name == "CHISLEHURST"
replace GB70_margin = 2.981916 if GB70_district_name == "CHORLEY"
replace GB70_margin = 26.11372 if GB70_district_name == "CIRENCESTER AND TEWKESBURY"
replace GB70_margin = 7.547926 if GB70_district_name == "CLEVELAND"
replace GB70_margin = 15.8572 if GB70_district_name == "CLITHEROE"
replace GB70_margin = 23.76798 if GB70_district_name == "COATBRIDGE AND AIRDRIE"
replace GB70_margin = 17.60901 if GB70_district_name == "COLCHESTER"
replace GB70_margin = 1.8077 if GB70_district_name == "COLNE VALLEY"
replace GB70_margin = 41.73941 if GB70_district_name == "CONSETT"
replace GB70_margin = 2.263839 if GB70_district_name == "CONWAY"
replace GB70_margin = 1.542719 if GB70_district_name == "NORTH CORNWALL"
replace GB70_margin = 20.06511 if GB70_district_name == "COVENTRY,EAST"
replace GB70_margin = 13.36545 if GB70_district_name == "COVENTRY,NORTH"
replace GB70_margin = 3.794141 if GB70_district_name == "COVENTRY,SOUTH"
replace GB70_margin = 8.526373 if GB70_district_name == "CREWE"
replace GB70_margin = 13.42706 if GB70_district_name == "CROSBY"
replace GB70_margin = 9.718082 if GB70_district_name == "CROYDON,NORTH EAST"
replace GB70_margin = 11.84316 if GB70_district_name == "CROYDON,NORTH WEST"
replace GB70_margin = 7.087759 if GB70_district_name == "CROYDON,SOUTH"
replace GB70_margin = 43.70668 if GB70_district_name == "DAGENHAM"
replace GB70_margin = 7.855546 if GB70_district_name == "DARLINGTON"
replace GB70_margin = .9250541 if GB70_district_name == "DARTFORD"
replace GB70_margin = 17.82264 if GB70_district_name == "DARWEN"
replace GB70_margin = 59.94253 if GB70_district_name == "DEARNE VALLEY"
replace GB70_margin = 18.2682 if GB70_district_name == "DENBIGH"
replace GB70_margin = 31.39804 if GB70_district_name == "DEPTFORD"
replace GB70_margin = 9.466925 if GB70_district_name == "DERBY NORTH"
replace GB70_margin = 8.829385 if GB70_district_name == "DERBY SOUTH"
replace GB70_margin = 21.72929 if GB70_district_name == "NORTH EAST DERBYSHIRE"
replace GB70_margin = 4.418778 if GB70_district_name == "SOUTH EAST DERBYSHIRE"
replace GB70_margin = 23.77004 if GB70_district_name == "WEST DERBYSHIRE"
replace GB70_margin = 14.57181 if GB70_district_name == "DEVIZES"
replace GB70_margin = .8609426 if GB70_district_name == "NORTH DEVON"
replace GB70_margin = 10.06619 if GB70_district_name == "DEWSBURY"
replace GB70_margin = 7.213269 if GB70_district_name == "DONCASTER"
replace GB70_margin = 38.9462 if GB70_district_name == "DON VALLEY"
replace GB70_margin = 34.56612 if GB70_district_name == "DORKING"
replace GB70_margin = 33.28997 if GB70_district_name == "NORTH DORSET"
replace GB70_margin = 12.95681 if GB70_district_name == "SOUTH DORSET"
replace GB70_margin = 27.11904 if GB70_district_name == "WEST DORSET"
replace GB70_margin = 2.81606 if GB70_district_name == "DOVER"
replace GB70_margin = 51.32293 if GB70_district_name == "DOWN NORTH"
replace GB70_margin = 20.55133 if GB70_district_name == "DOWN SOUTH"
replace GB70_margin = .5727729 if GB70_district_name == "DUDLEY"
replace GB70_margin = 19.61359 if GB70_district_name == "DUMFRIES"
replace GB70_margin = 7.622955 if GB70_district_name == "EAST DUNBARTONSHIRE"
replace GB70_margin = 13.77251 if GB70_district_name == "WEST DUNBARTONSHIRE"
replace GB70_margin = 5.976206 if GB70_district_name == "DUNDEE EAST"
replace GB70_margin = 13.38434 if GB70_district_name == "DUNDEE WEST"
replace GB70_margin = 25.03114 if GB70_district_name == "DUNFERMLINE BURGHS"
replace GB70_margin = 33.79827 if GB70_district_name == "DURHAM"
replace GB70_margin = 39.19908 if GB70_district_name == "NORTH WEST DURHAM"
replace GB70_margin = .6867247 if GB70_district_name == "EALING,NORTH"
replace GB70_margin = 20.72144 if GB70_district_name == "EALING,SOUTH"
replace GB70_margin = 59.60836 if GB70_district_name == "EASINGTON"
replace GB70_margin = 11.25662 if GB70_district_name == "EASTBOURNE"
replace GB70_margin = 41.48224 if GB70_district_name == "EAST GRINSTEAD"
replace GB70_margin = 19.81132 if GB70_district_name == "EAST HAM,NORTH"
replace GB70_margin = 23.75681 if GB70_district_name == "EAST HAM,SOUTH"
replace GB70_margin = 13.56172 if GB70_district_name == "EASTLEIGH"
replace GB70_margin = 57.88513 if GB70_district_name == "EBBW VALE"
replace GB70_margin = 12.68192 if GB70_district_name == "ECCLES"
replace GB70_margin = 7.53633 if GB70_district_name == "EDINBURGH CENTRAL"
replace GB70_margin = 12.90036 if GB70_district_name == "EDINBURGH EAST"
replace GB70_margin = 5.309803 if GB70_district_name == "EDINBURGH LEITH"
replace GB70_margin = 15.75974 if GB70_district_name == "EDINBURGH NORTH"
replace GB70_margin = 6.723133 if GB70_district_name == "EDINBURGH PENTLANDS"
replace GB70_margin = 11.58732 if GB70_district_name == "EDINBURGH SOUTH"
replace GB70_margin = 13.45368 if GB70_district_name == "EDINBURGH WEST"
replace GB70_margin = 5.101798 if GB70_district_name == "EDMONTON"
replace GB70_margin = 12.51203 if GB70_district_name == "ENFIELD,EAST"
replace GB70_margin = 31.68826 if GB70_district_name == "ENFIELD,WEST"
replace GB70_margin = 3.041758 if GB70_district_name == "EPPING"
replace GB70_margin = 39.35304 if GB70_district_name == "EPSOM"
replace GB70_margin = 11.79014 if GB70_district_name == "ERITH AND CRAYFORD"
replace GB70_margin = 38.14752 if GB70_district_name == "ESHER"
replace GB70_margin = 24.83908 if GB70_district_name == "SOUTH EAST ESSEX"
replace GB70_margin = 5.448862 if GB70_district_name == "ETON AND SLOUGH"
replace GB70_margin = 2.639065 if GB70_district_name == "EXETER"
replace GB70_margin = 16.79653 if GB70_district_name == "EYE"
replace GB70_margin = 3.157524 if GB70_district_name == "FALMOUTH AND CAMBORNE"
replace GB70_margin = 33.86007 if GB70_district_name == "FARNHAM"
replace GB70_margin = 16.96214 if GB70_district_name == "FARNWORTH"
replace GB70_margin = 6.803292 if GB70_district_name == "FAVERSHAM"
replace GB70_margin = 13.51483 if GB70_district_name == "FELTHAM"
replace GB70_margin = 2.216407 if GB70_district_name == "FERMANAGH AND SOUTH TYRONE"
replace GB70_margin = 29.94346 if GB70_district_name == "EAST FIFE"
replace GB70_margin = 34.87665 if GB70_district_name == "WEST FIFE"
replace GB70_margin = 23.60252 if GB70_district_name == "FINCHLEY"
replace GB70_margin = 7.761637 if GB70_district_name == "EAST FLINTSHIRE"
replace GB70_margin = 16.24815 if GB70_district_name == "WEST FLINTSHIRE"
replace GB70_margin = 31.55252 if GB70_district_name == "FOLKESTONE AND HYTHE"
replace GB70_margin = 11.82045 if GB70_district_name == "FULHAM"
replace GB70_margin = 17.45697 if GB70_district_name == "GAINSBOROUGH"
replace GB70_margin = 29.72857 if GB70_district_name == "GALLOWAY"
replace GB70_margin = 29.61625 if GB70_district_name == "GATESHEAD EAST"
replace GB70_margin = 36.13943 if GB70_district_name == "GATESHEAD WEST"
replace GB70_margin = 17.67951 if GB70_district_name == "GILLINGHAM"
replace GB70_margin = 41.25206 if GB70_district_name == "GLASGOW BRIDGETON"
replace GB70_margin = 9.134078 if GB70_district_name == "GLASGOW CATHCART"
replace GB70_margin = 46.11416 if GB70_district_name == "GLASGOW CENTRAL"
replace GB70_margin = 19.24011 if GB70_district_name == "GLASGOW CRAIGTON"
replace GB70_margin = 48.58746 if GB70_district_name == "GLASGOW GORBALS"
replace GB70_margin = 31.93525 if GB70_district_name == "GLASGOW GOVAN"
replace GB70_margin = 30.79719 if GB70_district_name == "GLASGOW HILLHEAD"
replace GB70_margin = 7.311072 if GB70_district_name == "GLASGOW KELVINGROVE"
replace GB70_margin = 42.60993 if GB70_district_name == "GLASGOW MARYHILL"
replace GB70_margin = 1.444242 if GB70_district_name == "GLASGOW POLLOK"
replace GB70_margin = 32.88029 if GB70_district_name == "GLASGOW PROVAN"
replace GB70_margin = 26.01977 if GB70_district_name == "GLASGOW SCOTSTOUN"
replace GB70_margin = 33.11972 if GB70_district_name == "GLASGOW SHETTLESTON"
replace GB70_margin = 44.63243 if GB70_district_name == "GLASGOW SPRINGBURN"
replace GB70_margin = 5.832748 if GB70_district_name == "GLASGOW WOODSIDE"
replace GB70_margin = 2.27927 if GB70_district_name == "GLOUCESTER"
replace GB70_margin = 13.05094 if GB70_district_name == "SOUTH GLOUCESTERSHIRE"
replace GB70_margin = 2.254628 if GB70_district_name == "WEST GLOUCESTERSHIRE"
replace GB70_margin = 20.43481 if GB70_district_name == "GOOLE"
replace GB70_margin = 24.87474 if GB70_district_name == "GOSPORT AND FAREHAM"
replace GB70_margin = 40.80021 if GB70_district_name == "GOWER"
replace GB70_margin = 17.34024 if GB70_district_name == "GRANTHAM"
replace GB70_margin = 1.8992 if GB70_district_name == "GRAVESEND"
replace GB70_margin = 8.985081 if GB70_district_name == "GREENOCK"
replace GB70_margin = 20.95104 if GB70_district_name == "GREENWICH"
replace GB70_margin = 13.61601 if GB70_district_name == "GRIMSBY"
replace GB70_margin = 28.68744 if GB70_district_name == "GUILDFORD"
replace GB70_margin = 29.8135 if GB70_district_name == "HACKNEY CENTRAL"
replace GB70_margin = .4065625 if GB70_district_name == "HALIFAX"
replace GB70_margin = 25.30652 if GB70_district_name == "HALTEMPRICE"
replace GB70_margin = 17.868 if GB70_district_name == "HAMILTON"
replace GB70_margin = 25.34938 if GB70_district_name == "HAMMERSMITH NORTH"
replace GB70_margin = 1.039382 if GB70_district_name == "HAMPSTEAD"
replace GB70_margin = 24.08452 if GB70_district_name == "HARBOROUGH"
replace GB70_margin = 39.60355 if GB70_district_name == "HARROGATE"
replace GB70_margin = 12.0512 if GB70_district_name == "HARROW,CENTRAL"
replace GB70_margin = 10.50692 if GB70_district_name == "HARROW,EAST"
replace GB70_margin = 32.09318 if GB70_district_name == "HARROW,WEST"
replace GB70_margin = 15.69364 if GB70_district_name == "THE HARTLEPOOLS"
replace GB70_margin = 20.96706 if GB70_district_name == "HARWICH"
replace GB70_margin = 16.93715 if GB70_district_name == "HASTINGS"
replace GB70_margin = 16.41235 if GB70_district_name == "HAYES AND HARLINGTON"
replace GB70_margin = 15.88261 if GB70_district_name == "HEMEL HEMPSTEAD"
replace GB70_margin = 61.51533 if GB70_district_name == "HEMSWORTH"
replace GB70_margin = 8.613075 if GB70_district_name == "HENDON,NORTH"
replace GB70_margin = 16.91261 if GB70_district_name == "HENDON,SOUTH"
replace GB70_margin = 22.58059 if GB70_district_name == "HENLEY"
replace GB70_margin = 18.37144 if GB70_district_name == "HEREFORD"
replace GB70_margin = 13.78724 if GB70_district_name == "HERTFORD"
replace GB70_margin = 20.44414 if GB70_district_name == "EAST HERTFORDSHIRE"
replace GB70_margin = 13.0142 if GB70_district_name == "SOUTH WEST HERTFORDSHIRE"
replace GB70_margin = 11.92656 if GB70_district_name == "HESTON AND ISLEWORTH"
replace GB70_margin = 16.68221 if GB70_district_name == "HEXHAM"
replace GB70_margin = 1.645438 if GB70_district_name == "HEYWOOD AND ROYTON"
replace GB70_margin = 3.362321 if GB70_district_name == "HIGH PEAK"
replace GB70_margin = 4.356281 if GB70_district_name == "HITCHIN"
replace GB70_margin = 10.29106 if GB70_district_name == "HOLBORN AND ST.PANCRAS"
replace GB70_margin = 16.15157 if GB70_district_name == "HOLLAND WITH BOSTON"
replace GB70_margin = 38.98746 if GB70_district_name == "HONITON"
replace GB70_margin = 29.94034 if GB70_district_name == "HORNCASTLE"
replace GB70_margin = 8.025329 if GB70_district_name == "HORNCHURCH"
replace GB70_margin = 8.687577 if GB70_district_name == "HORNSEY"
replace GB70_margin = 18.25383 if GB70_district_name == "HORSHAM"
replace GB70_margin = 46.81487 if GB70_district_name == "HOUGHTON-LE-SPRING"
replace GB70_margin = 37.35128 if GB70_district_name == "HOVE"
replace GB70_margin = 32.32837 if GB70_district_name == "HOWDEN"
replace GB70_margin = 12.14692 if GB70_district_name == "HUDDERSFIELD,EAST"
replace GB70_margin = .4696549 if GB70_district_name == "HUDDERSFIELD,WEST"
replace GB70_margin = 19.59335 if GB70_district_name == "HUNTINGDONSHIRE"
replace GB70_margin = 29.18271 if GB70_district_name == "HUYTON"
replace GB70_margin = 16.2566 if GB70_district_name == "ILFORD,NORTH"
replace GB70_margin = 3.228081 if GB70_district_name == "ILFORD,SOUTH"
replace GB70_margin = 31.08133 if GB70_district_name == "ILKESTON"
replace GB70_margin = 36.92445 if GB70_district_name == "INCE"
replace GB70_margin = 6.812912 if GB70_district_name == "INVERNESS"
replace GB70_margin = .0206796 if GB70_district_name == "IPSWICH"
replace GB70_margin = 19.87256 if GB70_district_name == "THE ISLE OF ELY"
replace GB70_margin = 18.19099 if GB70_district_name == "ISLE OF THANET"
replace GB70_margin = 29.85286 if GB70_district_name == "ISLE OF WIGHT"
replace GB70_margin = 23.49823 if GB70_district_name == "ISLINGTON,EAST"
replace GB70_margin = 23.2899 if GB70_district_name == "ISLINGTON,NORTH"
replace GB70_margin = 29.67324 if GB70_district_name == "ISLINGTON,SOUTH WEST"
replace GB70_margin = 27.05611 if GB70_district_name == "JARROW"
replace GB70_margin = 1.491598 if GB70_district_name == "KEIGHLEY"
replace GB70_margin = 13.55532 if GB70_district_name == "KENSINGTON,NORTH"
replace GB70_margin = 51.41484 if GB70_district_name == "KENSINGTON,SOUTH"
replace GB70_margin = 5.810487 if GB70_district_name == "KETTERING"
replace GB70_margin = 17.52516 if GB70_district_name == "KIDDERMINSTER"
replace GB70_margin = 31.5191 if GB70_district_name == "KILMARNOCK"
replace GB70_margin = .0693117 if GB70_district_name == "KING'S LYNN"
replace GB70_margin = 42.87819 if GB70_district_name == "KINGSTON-UPON-HULL EAST"
replace GB70_margin = 18.23041 if GB70_district_name == "KINGSTON-UPON-HULL NORTH"
replace GB70_margin = 24.65338 if GB70_district_name == "KINGSTON-UPON-HULL WEST"
replace GB70_margin = 25.00363 if GB70_district_name == "KINGSTON UPON THAMES"
replace GB70_margin = 38.80917 if GB70_district_name == "KINROSS AND WEST PERTHSHIRE"
replace GB70_margin = 23.86092 if GB70_district_name == "KIRKCALDY BURGHS"
replace GB70_margin = 38.89349 if GB70_district_name == "KNUTSFORD"
replace GB70_margin = 14.60053 if GB70_district_name == "LAMBETH,BRIXTON"
replace GB70_margin = 1.799105 if GB70_district_name == "LAMBETH,NORWOOD"
replace GB70_margin = 27.13541 if GB70_district_name == "LAMBETH,VAUXHALL"
replace GB70_margin = 3.688457 if GB70_district_name == "LANARK"
replace GB70_margin = 11.82862 if GB70_district_name == "NORTH LANARKSHIRE"
replace GB70_margin = 4.598156 if GB70_district_name == "LANCASTER"
replace GB70_margin = 15.29176 if GB70_district_name == "LEEDS,EAST"
replace GB70_margin = 13.93066 if GB70_district_name == "LEEDS,NORTH EAST"
replace GB70_margin = 15.03835 if GB70_district_name == "LEEDS,NORTH WEST"
replace GB70_margin = 31.31029 if GB70_district_name == "LEEDS,SOUTH"
replace GB70_margin = 32.94927 if GB70_district_name == "LEEDS,SOUTH EAST"
replace GB70_margin = 16.46926 if GB70_district_name == "LEEDS,WEST"
replace GB70_margin = 2.546423 if GB70_district_name == "LEEK"
replace GB70_margin = 2.896902 if GB70_district_name == "LEICESTER,NORTH EAST"
replace GB70_margin = 7.025288 if GB70_district_name == "LEICESTER,NORTH WEST"
replace GB70_margin = 25.30103 if GB70_district_name == "LEICESTER,SOUTH EAST"
replace GB70_margin = .3313639 if GB70_district_name == "LEICESTER,SOUTH WEST"
replace GB70_margin = 24.74243 if GB70_district_name == "LEIGH"
replace GB70_margin = 36.72114 if GB70_district_name == "LEOMINSTER"
replace GB70_margin = 32.45628 if GB70_district_name == "LEWES"
replace GB70_margin = 2.89761 if GB70_district_name == "LEWISHAM,NORTH"
replace GB70_margin = 16.47331 if GB70_district_name == "LEWISHAM,SOUTH"
replace GB70_margin = 1.96932 if GB70_district_name == "LEWISHAM,WEST"
replace GB70_margin = 13.27134 if GB70_district_name == "LEYTON"
replace GB70_margin = 3.262233 if GB70_district_name == "LICHFIELD AND TAMWORTH"
replace GB70_margin = 12.06594 if GB70_district_name == "LINCOLN"
replace GB70_margin = 15.44843 if GB70_district_name == "LIVERPOOL,EDGE HILL"
replace GB70_margin = 45.39874 if GB70_district_name == "LIVERPOOL,EXCHANGE"
replace GB70_margin = 13.8953 if GB70_district_name == "LIVERPOOL,GARSTON"
replace GB70_margin = 12.98373 if GB70_district_name == "LIVERPOOL,KIRKDALE"
replace GB70_margin = 49.50722 if GB70_district_name == "LIVERPOOL,SCOTLAND"
replace GB70_margin = 8.741458 if GB70_district_name == "LIVERPOOL,TOXTETH"
replace GB70_margin = 12.02052 if GB70_district_name == "LIVERPOOL,WALTON"
replace GB70_margin = 18.22325 if GB70_district_name == "LIVERPOOL,WAVERTREE"
replace GB70_margin = 14.64962 if GB70_district_name == "LIVERPOOL,WEST DERBY"
replace GB70_margin = 46.02292 if GB70_district_name == "LLANELLI"
replace GB70_margin = 28.09984 if GB70_district_name == "CITIES OF LONDON AND WESTMINSTER"
replace GB70_margin = 6.199805 if GB70_district_name == "LONDONDERRY COUNTY"
replace GB70_margin = 1.062412 if GB70_district_name == "LOUGHBOROUGH"
replace GB70_margin = 19.14731 if GB70_district_name == "LOUTH"
replace GB70_margin = 9.706843 if GB70_district_name == "LOWESTOFT"
replace GB70_margin = 23.05938 if GB70_district_name == "LUDLOW"
replace GB70_margin = 2.950956 if GB70_district_name == "LUTON"
replace GB70_margin = 18.75875 if GB70_district_name == "MACCLESFIELD"
replace GB70_margin = 21.0693 if GB70_district_name == "MAIDSTONE"
replace GB70_margin = 10.85873 if GB70_district_name == "MALDON"
replace GB70_margin = 12.27611 if GB70_district_name == "MANCHESTER,ARDWICK"
replace GB70_margin = 6.453135 if GB70_district_name == "MANCHESTER,BLACKLEY"
replace GB70_margin = 28.21055 if GB70_district_name == "MANCHESTER,CHEETHAM"
replace GB70_margin = 40.72409 if GB70_district_name == "MANCHESTER,EXCHANGE"
replace GB70_margin = 13.74023 if GB70_district_name == "MANCHESTER,GORTON"
replace GB70_margin = 5.830696 if GB70_district_name == "MANCHESTER,MOSS SIDE"
replace GB70_margin = 22.02202 if GB70_district_name == "MANCHESTER,OPENSHAW"
replace GB70_margin = 9.001781 if GB70_district_name == "MANCHESTER,WITHINGTON"
replace GB70_margin = 10.50854 if GB70_district_name == "MANCHESTER,WYTHENSHAWE"
replace GB70_margin = 33.60168 if GB70_district_name == "MANSFIELD"
replace GB70_margin = 25.84811 if GB70_district_name == "MELTON"
replace GB70_margin = 6.26276 if GB70_district_name == "MERIDEN"
replace GB70_margin = 15.41844 if GB70_district_name == "MERIONETH"
replace GB70_margin = 23.20385 if GB70_district_name == "MERTHYR TYDFIL"
replace GB70_margin = 9.452601 if GB70_district_name == "MERTON AND MORDEN"
replace GB70_margin = 42.03711 if GB70_district_name == "MIDDLESBROUGH,EAST"
replace GB70_margin = .8746619 if GB70_district_name == "MIDDLESBROUGH,WEST"
replace GB70_margin = 1.821901 if GB70_district_name == "MIDDLETON AND PRESTWICK"
replace GB70_margin = 21.44146 if GB70_district_name == "MIDLOTHIAN"
replace GB70_margin = 10.4321 if GB70_district_name == "MITCHAM"
replace GB70_margin = 2.227483 if GB70_district_name == "MONMOUTH"
replace GB70_margin = 8.696797 if GB70_district_name == "MONTGOMERY"
replace GB70_margin = 21.56295 if GB70_district_name == "MORAY AND NAIRN"
replace GB70_margin = 28.09138 if GB70_district_name == "MORECAMBE AND LONSDALE"
replace GB70_margin = 34.04026 if GB70_district_name == "MORPETH"
replace GB70_margin = 21.02258 if GB70_district_name == "MOTHERWELL"
replace GB70_margin = 11.95258 if GB70_district_name == "NANTWICH"
replace GB70_margin = 54.39422 if GB70_district_name == "NEATH"
replace GB70_margin = 3.676471 if GB70_district_name == "NELSON AND COLNE"
replace GB70_margin = 2.360224 if GB70_district_name == "NEWARK"
replace GB70_margin = 18.83125 if GB70_district_name == "NEWBURY"
replace GB70_margin = 4.608315 if GB70_district_name == "NEWCASTLE UNDER LYME"
replace GB70_margin = 48.6312 if GB70_district_name == "NEWCASTLE-UPON-TYNE CENTRAL"
replace GB70_margin = 16.30742 if GB70_district_name == "NEWCASTLE-UPON-TYNE EAST"
replace GB70_margin = 12.14205 if GB70_district_name == "NEWCASTLE-UPON-TYNE NORTH"
replace GB70_margin = 17.46649 if GB70_district_name == "NEWCASTLE-UPONTYNE WEST"
replace GB70_margin = 37.47977 if GB70_district_name == "NEW FOREST"
replace GB70_margin = 15.01275 if GB70_district_name == "NEWPORT"
replace GB70_margin = 13.56642 if GB70_district_name == "NEWTON"
replace GB70_margin = 23.89932 if GB70_district_name == "CENTRAL NORFOLK"
replace GB70_margin = 10.52821 if GB70_district_name == "NORTH NORFOLK"
replace GB70_margin = 12.48251 if GB70_district_name == "SOUTH NORFOLK"
replace GB70_margin = 14.5597 if GB70_district_name == "SOUTH WEST NORFOLK"
replace GB70_margin = 36.79398 if GB70_district_name == "NORMANTON"
replace GB70_margin = 2.314996 if GB70_district_name == "NORTHAMPTON"
replace GB70_margin = 13.97047 if GB70_district_name == "SOUTH NORTHAMPTONSHIRE"
replace GB70_margin = 37.69171 if GB70_district_name == "NORTH FYLDE"
replace GB70_margin = 11.63259 if GB70_district_name == "NORTHWICH"
replace GB70_margin = 21.53747 if GB70_district_name == "NORWICH,NORTH"
replace GB70_margin = 2.27304 if GB70_district_name == "NORWICH,SOUTH"
replace GB70_margin = 11.22111 if GB70_district_name == "NOTTINGHAM,CENTRAL"
replace GB70_margin = 14.85577 if GB70_district_name == "NOTTINGHAM,NORTH"
replace GB70_margin = 7.493021 if GB70_district_name == "NOTTINGHAM,SOUTH"
replace GB70_margin = 5.593919 if GB70_district_name == "NOTTINGHAM,WEST"
replace GB70_margin = 24.64801 if GB70_district_name == "NUNEATON"
replace GB70_margin = 46.3395 if GB70_district_name == "OGMORE"
replace GB70_margin = 5.194805 if GB70_district_name == "OLDBURY AND HALESOWEN"
replace GB70_margin = 2.283654 if GB70_district_name == "OLDHAM,EAST"
replace GB70_margin = 5.016021 if GB70_district_name == "OLDHAM,WEST"
replace GB70_margin = 15.06067 if GB70_district_name == "ORKNEY AND ZETLAND"
replace GB70_margin = 22.77321 if GB70_district_name == "ORMSKIRK"
replace GB70_margin = 2.564699 if GB70_district_name == "ORPINGTON"
replace GB70_margin = 23.82554 if GB70_district_name == "OSWESTRY"
replace GB70_margin = 3.557066 if GB70_district_name == "OXFORD"
replace GB70_margin = 14.3785 if GB70_district_name == "PADDINGTON,NORTH"
replace GB70_margin = 13.19297 if GB70_district_name == "PADDINGTON,SOUTH"
replace GB70_margin = 21.69067 if GB70_district_name == "PAISLEY"
replace GB70_margin = 2.235946 if GB70_district_name == "PEMBROKE"
replace GB70_margin = 31.04031 if GB70_district_name == "PENISTONE"
replace GB70_margin = 33.548 if GB70_district_name == "PENRITH AND THE BORDERS"
replace GB70_margin = 28.33512 if GB70_district_name == "PERTH AND EAST PERTHSHIRE"
replace GB70_margin = 8.167975 if GB70_district_name == "PETERBOROUGH"
replace GB70_margin = 39.99801 if GB70_district_name == "PETERSFIELD"
replace GB70_margin = 3.242426 if GB70_district_name == "PLYMOUTH,DEVONPORT"
replace GB70_margin = 1.287509 if GB70_district_name == "PLYMOUTH,SUTTON"
replace GB70_margin = 49.66204 if GB70_district_name == "PONTEFRACT"
replace GB70_margin = 47.81599 if GB70_district_name == "PONTYPOOL"
replace GB70_margin = 41.62599 if GB70_district_name == "PONTYPRIDD"
replace GB70_margin = 23.03778 if GB70_district_name == "POOLE"
replace GB70_margin = 60.73166 if GB70_district_name == "POPLAR"
replace GB70_margin = 21.43044 if GB70_district_name == "PORTSMOUTH,LANGSTON"
replace GB70_margin = 26.75289 if GB70_district_name == "PORTSMOUTH,SOUTH"
replace GB70_margin = 2.811966 if GB70_district_name == "PORTSMOUTH,WEST"
replace GB70_margin = 7.460957 if GB70_district_name == "PRESTON,NORTH"
replace GB70_margin = 3.358651 if GB70_district_name == "PRESTON,SOUTH"
replace GB70_margin = 12.14177 if GB70_district_name == "PUDSEY"
replace GB70_margin = 2.460082 if GB70_district_name == "READING"
replace GB70_margin = 24.65419 if GB70_district_name == "REIGATE"
replace GB70_margin = 23.39005 if GB70_district_name == "EAST RENFREWSHIRE"
replace GB70_margin = 4.811126 if GB70_district_name == "WEST RENFREWSHIRE"
replace GB70_margin = 44.38023 if GB70_district_name == "RHONDDA,EAST"
replace GB70_margin = 60.71741 if GB70_district_name == "RHONDDA,WEST"
replace GB70_margin = 19.55788 if GB70_district_name == "RICHMOND (SURREY)"
replace GB70_margin = 36.61673 if GB70_district_name == "RICHMOND (YORKSHIRE)"
replace GB70_margin = 34.52678 if GB70_district_name == "RIPON"
replace GB70_margin = 11.16823 if GB70_district_name == "ROCHDALE"
replace GB70_margin = 9.678354 if GB70_district_name == "ROCHESTER AND CHATHAM"
replace GB70_margin = 5.203816 if GB70_district_name == "ROMFORD"
replace GB70_margin = 4.144676 if GB70_district_name == "ROSS AND CROMARTY"
replace GB70_margin = 4.818536 if GB70_district_name == "ROSSENDALE"
replace GB70_margin = 32.81776 if GB70_district_name == "ROTHERHAM"
replace GB70_margin = 43.57629 if GB70_district_name == "ROTHER VALLEY"
replace GB70_margin = 23.346 if GB70_district_name == "ROWLEY REGIS AND TIPTON"
replace GB70_margin = 1.190425 if GB70_district_name == "ROXBURGH, SELKIRK AND PEEBLES"
replace GB70_margin = 6.236677 if GB70_district_name == "RUGBY"
replace GB70_margin = 31.78407 if GB70_district_name == "RUISLIP-NORTHWOOD"
replace GB70_margin = 19.20495 if GB70_district_name == "RUNCORN"
replace GB70_margin = 10.2896 if GB70_district_name == "RUSHCLIFFE"
replace GB70_margin = 8.957026 if GB70_district_name == "RUTHERGLEN"
replace GB70_margin = 20.20876 if GB70_district_name == "RUTLAND AND STAMFORD"
replace GB70_margin = 46.28068 if GB70_district_name == "RYE"
replace GB70_margin = 20.83073 if GB70_district_name == "SAFFRON WALDON"
replace GB70_margin = 16.5521 if GB70_district_name == "ST.ALBANS"
replace GB70_margin = 31.3498 if GB70_district_name == "ST.HELENS"
replace GB70_margin = 23.76422 if GB70_district_name == "ST.IVES"
replace GB70_margin = 32.78769 if GB70_district_name == "ST.MARYLEBONE"
replace GB70_margin = 21.02822 if GB70_district_name == "ST.PANCRAS NORTH"
replace GB70_margin = 22.04951 if GB70_district_name == "SALFORD,EAST"
replace GB70_margin = 8.550613 if GB70_district_name == "SALFORD,WEST"
replace GB70_margin = 20.56219 if GB70_district_name == "SALISBURY"
replace GB70_margin = 18.36563 if GB70_district_name == "SCARBOROUGH AND WHITBY"
replace GB70_margin = 21.06793 if GB70_district_name == "SEDGEFIELD"
replace GB70_margin = 28.6439 if GB70_district_name == "SEVENOAKS"
replace GB70_margin = 40.72643 if GB70_district_name == "SHEFFIELD,ATTERCLIFFE"
replace GB70_margin = 46.32286 if GB70_district_name == "SHEFFIELD,BRIGHTSIDE"
replace GB70_margin = 29.88534 if GB70_district_name == "SHEFFIELD,HALLAM"
replace GB70_margin = 1.166137 if GB70_district_name == "SHEFFIELD,HEELEY"
replace GB70_margin = 24.25546 if GB70_district_name == "SHEFFIELD,HILLSBOROUGH"
replace GB70_margin = 52.57243 if GB70_district_name == "SHEFFIELD,PARK"
replace GB70_margin = 11.49229 if GB70_district_name == "SHIPLEY"
replace GB70_margin = 33.77079 if GB70_district_name == "SHOREDITCH AND FINSBURY"
replace GB70_margin = 21.92322 if GB70_district_name == "SHREWSBURY"
replace GB70_margin = 21.71051 if GB70_district_name == "SKIPTON"
replace GB70_margin = 6.849182 if GB70_district_name == "SMETHWICK"
replace GB70_margin = 41.84261 if GB70_district_name == "SOLIHULL"
replace GB70_margin = 16.17682 if GB70_district_name == "NORTH SOMERSET"
replace GB70_margin = 11.68932 if GB70_district_name == "SOUTHALL"
replace GB70_margin = 45.2959444647 if GB70_district_name == "SOUTHAMPTON,ITCHEN"
replace GB70_margin = 3.474271 if GB70_district_name == "SOUTHAMPTON,TEST"
replace GB70_margin = 16.93843 if GB70_district_name == "SOUTHEND EAST"
replace GB70_margin = 34.60041 if GB70_district_name == "SOUTHEND WEST"
replace GB70_margin = 42.08651 if GB70_district_name == "SOUTH FYLDE"
replace GB70_margin = 35.9072 if GB70_district_name == "SOUTHGATE"
replace GB70_margin = 20.01225 if GB70_district_name == "SOUTHPORT"
replace GB70_margin = 20.40039 if GB70_district_name == "SOUTH SHIELDS"
replace GB70_margin = 39.17287 if GB70_district_name == "SOUTHWARK"
replace GB70_margin = 1.239626 if GB70_district_name == "SOWERBY"
replace GB70_margin = 17.94739 if GB70_district_name == "SPELTHORNE"
replace GB70_margin = 17.655 if GB70_district_name == "STAFFORD AND STONE"
replace GB70_margin = 6.07385 if GB70_district_name == "STALYBRIDGE AND HYDE"
replace GB70_margin = 55.43474 if GB70_district_name == "STEPNEY"
replace GB70_margin = 15.95709 if GB70_district_name == "STIRLING AND FALKIRK"
replace GB70_margin = 22.54969 if GB70_district_name == "CLACKMANNAN AND EAST STIRLINGSHIRE"
replace GB70_margin = 19.20628 if GB70_district_name == "WEST STIRLINGSHIRE"
replace GB70_margin = 2.209819 if GB70_district_name == "STOCKPORT NORTH"
replace GB70_margin = 5.738228 if GB70_district_name == "STOCKPORT SOUTH"
replace GB70_margin = 10.64464 if GB70_district_name == "STOCKTON-ON-TEES"
replace GB70_margin = 28.11568 if GB70_district_name == "STOKE NEWINGTON AND HACKNEY NORTH"
replace GB70_margin = 25.11589 if GB70_district_name == "STOKE ON TRENT,CENTRAL"
replace GB70_margin = 32.3884 if GB70_district_name == "STOKE ON TRENT,NORTH"
replace GB70_margin = 21.54895 if GB70_district_name == "STOKE ON TRENT,SOUTH"
replace GB70_margin = 34.53527 if GB70_district_name == "STRATFORD"
replace GB70_margin = 7.540897 if GB70_district_name == "STRETFORD"
replace GB70_margin = 14.95117 if GB70_district_name == "STROUD"
replace GB70_margin = 21.16648 if GB70_district_name == "SUDBURY AND WOODBRIDGE"
replace GB70_margin = 21.26443 if GB70_district_name == "SUNDERLAND NORTH"
replace GB70_margin = 12.86321 if GB70_district_name == "SUNDERLAND SOUTH"
replace GB70_margin = 20.52978 if GB70_district_name == "SURBITON"
replace GB70_margin = 41.63028 if GB70_district_name == "EAST SURREY"
replace GB70_margin = 30.7849 if GB70_district_name == "SUTTON AND CHEAM"
replace GB70_margin = 29.09273 if GB70_district_name == "SUTTON COLDFIELD"
replace GB70_margin = 48.61277 if GB70_district_name == "SWANSEA,EAST"
replace GB70_margin = 6.602908 if GB70_district_name == "SWANSEA,WEST"
replace GB70_margin = 12.03228 if GB70_district_name == "SWINDON"
replace GB70_margin = 17.06174 if GB70_district_name == "TAUNTON"
replace GB70_margin = 34.16031 if GB70_district_name == "TAVISTOCK"
replace GB70_margin = 33.72871 if GB70_district_name == "THIRSK AND MALTON"
replace GB70_margin = 20.5619 if GB70_district_name == "THURROCK"
replace GB70_margin = 30.99171 if GB70_district_name == "TIVERTON"
replace GB70_margin = 23.33956 if GB70_district_name == "TONBRIDGE"
replace GB70_margin = 29.53508 if GB70_district_name == "TORQUAY"
replace GB70_margin = 25.00887 if GB70_district_name == "TORRINGTON"
replace GB70_margin = 26.26038 if GB70_district_name == "TOTNES"
replace GB70_margin = 22.5531 if GB70_district_name == "TOTTENHAM"
replace GB70_margin = 16.2571 if GB70_district_name == "TRURO"
replace GB70_margin = 22.13566 if GB70_district_name == "TWICKENHAM"
replace GB70_margin = 11.42504 if GB70_district_name == "TYNEMOUTH"
replace GB70_margin = 9.781899 if GB70_district_name == "ULSTER MID"
replace GB70_margin = 7.684364 if GB70_district_name == "UXBRIDGE"
replace GB70_margin = 24.81153 if GB70_district_name == "WAKEFIELD"
replace GB70_margin = 5.763459 if GB70_district_name == "WALLASEY"
replace GB70_margin = 22.62419 if GB70_district_name == "WALLSEND"
replace GB70_margin = 15.36214 if GB70_district_name == "WALSALL,NORTH"
replace GB70_margin = 18.997 if GB70_district_name == "WALSALL,SOUTH"
replace GB70_margin = 1.728937 if GB70_district_name == "WALTHAMSTOW,EAST"
replace GB70_margin = 20.09081 if GB70_district_name == "WALTHAMSTOW,WEST"
replace GB70_margin = 8.047861 if GB70_district_name == "WANDSWORTH,CENTRAL"
replace GB70_margin = 9.355884 if GB70_district_name == "WANDSWORTH,CLAPHAM"
replace GB70_margin = 2.639302 if GB70_district_name == "WANDSWORTH,PUTNEY"
replace GB70_margin = 15.84198 if GB70_district_name == "WANDSWORTH,STREATHAM"
replace GB70_margin = 35.18027 if GB70_district_name == "WANSTEAD AND WOODFORD"
replace GB70_margin = 28.58325 if GB70_district_name == "WARRINGTON"
replace GB70_margin = 26.80252 if GB70_district_name == "WARWICK AND LEAMINGTON"
replace GB70_margin = .1763423 if GB70_district_name == "WATFORD"
replace GB70_margin = 7.554061 if GB70_district_name == "WEDNESBURY"
replace GB70_margin = 4.474375 if GB70_district_name == "WELLINGBOROUGH"
replace GB70_margin = 17.32886 if GB70_district_name == "WELLS"
replace GB70_margin = 18.71943 if GB70_district_name == "WEMBLEY NORTH"
replace GB70_margin = 7.252378 if GB70_district_name == "WEMBLEY SOUTH"
replace GB70_margin = 10.46523 if GB70_district_name == "WEST BROMWICH"
replace GB70_margin = 17.28252 if GB70_district_name == "WESTBURY"
replace GB70_margin = 4.766282 if GB70_district_name == "WESTERN ISLES"
replace GB70_margin = 37.6739 if GB70_district_name == "WEST HAM NORTH"
replace GB70_margin = 55.41302 if GB70_district_name == "WEST HAM SOUTH"
replace GB70_margin = 10.88731 if GB70_district_name == "WESTHOUGHTON"
replace GB70_margin = 24.76256 if GB70_district_name == "WEST LOTHIAN"
replace GB70_margin = 30.77063 if GB70_district_name == "WESTMORLAND"
replace GB70_margin = 33.11647 if GB70_district_name == "WESTON SUPER MARE"
replace GB70_margin = 16.64297 if GB70_district_name == "WHITEHAVEN"
replace GB70_margin = 15.32351 if GB70_district_name == "WIDNES"
replace GB70_margin = 36.53735 if GB70_district_name == "WIGAN"
replace GB70_margin = 12.65258 if GB70_district_name == "WILLESDEN,EAST"
replace GB70_margin = 36.06271 if GB70_district_name == "WILLESDEN,WEST"
replace GB70_margin = 23.54484 if GB70_district_name == "WIMBLEDON"
replace GB70_margin = 29.36651 if GB70_district_name == "WINCHESTER"
replace GB70_margin = 29.2771 if GB70_district_name == "WINDSOR"
replace GB70_margin = 23.46852 if GB70_district_name == "WIRRAL"
replace GB70_margin = 28.28978 if GB70_district_name == "WOKING"
replace GB70_margin = 26.1765 if GB70_district_name == "WOKINGHAM"
replace GB70_margin = 5.534926 if GB70_district_name == "WOLVERHAMPTON NORTH EAST"
replace GB70_margin = 35.50184 if GB70_district_name == "WOLVERHAMPTON SOUTH WEST"
replace GB70_margin = 14.20705 if GB70_district_name == "WOOD GREEN"
replace GB70_margin = 30.87393 if GB70_district_name == "WOOLWICH,EAST"
replace GB70_margin = 1.490809 if GB70_district_name == "WOOLWICH,WEST"
replace GB70_margin = 16.55554 if GB70_district_name == "WORCESTER"
replace GB70_margin = 35.09232 if GB70_district_name == "SOUTH WORCESTERSHIRE"
replace GB70_margin = 23.31202 if GB70_district_name == "WORKINGTON"
replace GB70_margin = 47.76481 if GB70_district_name == "WORTHING"
replace GB70_margin = .9952734 if GB70_district_name == "THE WREKIN"
replace GB70_margin = 28.22721 if GB70_district_name == "WREXHAM"
replace GB70_margin = 23.41584 if GB70_district_name == "WYCOMBE"
replace GB70_margin = 6.783121 if GB70_district_name == "YARMOUTH"
replace GB70_margin = 12.68303 if GB70_district_name == "YEOVIL"
replace GB70_margin = 3.851615 if GB70_district_name == "YORK"

* Effective number of electoral parties by district

gen GB70_enep = .

replace GB70_enep = 1.976486 if GB70_district_name == "ABERAVON"
replace GB70_enep = 2.196227 if GB70_district_name == "ABERDARE"
replace GB70_enep = 2.247032 if GB70_district_name == "ABERDEEN NORTH"
replace GB70_enep = 2.497973 if GB70_district_name == "ABERDEEN SOUTH"
replace GB70_enep = 3.318049 if GB70_district_name == "EAST ABERDEENSHIRE"
replace GB70_enep = 2.858956 if GB70_district_name == "WEST ABERDEENSHIRE"
replace GB70_enep = 1.468064 if GB70_district_name == "ABERTILLERY"
replace GB70_enep = 2.332749 if GB70_district_name == "ABINGDON"
replace GB70_enep = 1.999582 if GB70_district_name == "ACCRINGTON"
replace GB70_enep = 2.262272 if GB70_district_name == "ACTON"
replace GB70_enep = 2.340793 if GB70_district_name == "ALDERSHOT"
replace GB70_enep = 2.45939 if GB70_district_name == "ALTRINCHAM AND SALE"
replace GB70_enep = 3.120991 if GB70_district_name == "ANGLESEY"
replace GB70_enep = 2.79562 if GB70_district_name == "NORTH ANGUS AND MEARNS"
replace GB70_enep = 2.429236 if GB70_district_name == "SOUTH ANGUS"
replace GB70_enep = 2.612421 if GB70_district_name == "ANTRIM NORTH"
replace GB70_enep = 2.24035 if GB70_district_name == "ANTRIM SOUTH"
replace GB70_enep = 2.824236 if GB70_district_name == "ARGYLL"
replace GB70_enep = 2.361205 if GB70_district_name == "ARMAGH"
replace GB70_enep = 2.228515 if GB70_district_name == "ARUNDEL AND SHOREHAM"
replace GB70_enep = 1.765839 if GB70_district_name == "ASHFIELD"
replace GB70_enep = 2.434691 if GB70_district_name == "ASHFORD"
replace GB70_enep = 1.983906 if GB70_district_name == "ASHTON UNDER LYNE"
replace GB70_enep = 2.381288 if GB70_district_name == "AYLESBURY"
replace GB70_enep = 2.184525 if GB70_district_name == "AYR"
replace GB70_enep = 2.21323 if GB70_district_name == "CENTRAL AYRSHIRE"
replace GB70_enep = 2.353009 if GB70_district_name == "BUTE AND NORTH AYRSHIRE"
replace GB70_enep = 2.085723 if GB70_district_name == "SOUTH AYRSHIRE"
replace GB70_enep = 2.329605 if GB70_district_name == "BANBURY"
replace GB70_enep = 3.614698 if GB70_district_name == "BANFF"
replace GB70_enep = 1.738675 if GB70_district_name == "BARKING"
replace GB70_enep = 1.928921 if GB70_district_name == "BARKSTON ASH"
replace GB70_enep = 2.416579 if GB70_district_name == "BARNET"
replace GB70_enep = 2.07064 if GB70_district_name == "BARNSLEY"
replace GB70_enep = 2.320259 if GB70_district_name == "BARONS COURT"
replace GB70_enep = 1.970766 if GB70_district_name == "BARROW IN FURNESS"
replace GB70_enep = 2.234779 if GB70_district_name == "BARRY"
replace GB70_enep = 2.427677 if GB70_district_name == "BASINGSTOKE"
replace GB70_enep = 2.181976 if GB70_district_name == "BASSETLAW"
replace GB70_enep = 2.579013 if GB70_district_name == "BATH"
replace GB70_enep = 2.525808 if GB70_district_name == "BATLEY AND MORLEY"
replace GB70_enep = 1.962051 if GB70_district_name == "BATTERSEA,NORTH"
replace GB70_enep = 2.355785 if GB70_district_name == "BATTERSEA,SOUTH"
replace GB70_enep = 1.999725 if GB70_district_name == "BEBINGTON"
replace GB70_enep = 2.349342 if GB70_district_name == "BECKENHAM"
replace GB70_enep = 2.344156 if GB70_district_name == "BEDFORD"
replace GB70_enep = 2.449397 if GB70_district_name == "MID-BEDFORDSHIRE"
replace GB70_enep = 2.353481 if GB70_district_name == "SOUTH BEDFORDSHIRE"
replace GB70_enep = 1.695642 if GB70_district_name == "BEDWELLTY"
replace GB70_enep = 1.930912 if GB70_district_name == "BELFAST EAST"
replace GB70_enep = 2.665555 if GB70_district_name == "BELFAST NORTH"
replace GB70_enep = 1.71436 if GB70_district_name == "BELFAST SOUTH"
replace GB70_enep = 1.993959 if GB70_district_name == "BELFAST WEST"
replace GB70_enep = 1.998128 if GB70_district_name == "BELPER"
replace GB70_enep = 1.550415 if GB70_district_name == "BERMONDSEY"
replace GB70_enep = 2.418214 if GB70_district_name == "BERWICK AND EAST LOTHIAN"
replace GB70_enep = 2.632719 if GB70_district_name == "BERWICK UPON TWEED"
replace GB70_enep = 2.072637 if GB70_district_name == "BETHNAL GREEN"
replace GB70_enep = 2.354838 if GB70_district_name == "BEXLEY"
replace GB70_enep = 1.996271 if GB70_district_name == "BILLERICAY"
replace GB70_enep = 1.999301 if GB70_district_name == "BILSTON"
replace GB70_enep = 2.470275 if GB70_district_name == "BIRKENHEAD"
replace GB70_enep = 2.315972 if GB70_district_name == "BIRMINGHAM,ALL SAINTS"
replace GB70_enep = 2.066497 if GB70_district_name == "BIRMINGHAM,ASTON"
replace GB70_enep = 1.917304 if GB70_district_name == "BIRMINGHAM,EDGBASTON"
replace GB70_enep = 1.917445 if GB70_district_name == "BIRMINGHAM,HALL GREEN"
replace GB70_enep = 1.992934 if GB70_district_name == "BIRMINGHAM,HANDSWORTH"
replace GB70_enep = 2.797339 if GB70_district_name == "BIRMINGHAM,LADYWOOD"
replace GB70_enep = 2.036062 if GB70_district_name == "BIRMINGHAM,NORTHFIED"
replace GB70_enep = 1.997372 if GB70_district_name == "BIRMINGHAM,PERRY BARR"
replace GB70_enep = 1.996229 if GB70_district_name == "BIRMINGHAM,SELLY OAK"
replace GB70_enep = 2.114519 if GB70_district_name == "BIRMINGHAM,SMALL HEATH"
replace GB70_enep = 2.228678 if GB70_district_name == "BIRMINGHAM,SPARKBROOK"
replace GB70_enep = 2.111781 if GB70_district_name == "BIRMINGHAM,STECHFORD"
replace GB70_enep = 1.999985 if GB70_district_name == "BIRMINGHAM,YARDLEY"
replace GB70_enep = 1.912588 if GB70_district_name == "BISHOP AUCKLAND"
replace GB70_enep = 1.991632 if GB70_district_name == "BLACKBURN"
replace GB70_enep = 2.346702 if GB70_district_name == "BLACKPOOL,NORTH"
replace GB70_enep = 2.451928 if GB70_district_name == "BLACKPOOL,SOUTH"
replace GB70_enep = 1.837327 if GB70_district_name == "BLAYDON"
replace GB70_enep = 1.620078 if GB70_district_name == "BLYTH"
replace GB70_enep = 2.493853 if GB70_district_name == "BODMIN"
replace GB70_enep = 1.535563 if GB70_district_name == "BOLSOVER"
replace GB70_enep = 1.999782 if GB70_district_name == "BOLTON,EAST"
replace GB70_enep = 1.997767 if GB70_district_name == "BOLTON,WEST"
replace GB70_enep = 1.861712 if GB70_district_name == "BOOTLE"
replace GB70_enep = 1.99939 if GB70_district_name == "BOSWORTH"
replace GB70_enep = 2.372513 if GB70_district_name == "BOTHWELL"
replace GB70_enep = 2.169837 if GB70_district_name == "BOURNEMOUTH EAST AND CHRISTCHURCH"
replace GB70_enep = 2.392244 if GB70_district_name == "BOURNEMOUTH WEST"
replace GB70_enep = 1.863822 if GB70_district_name == "BRADFORD,EAST"
replace GB70_enep = 1.99645 if GB70_district_name == "BRADFORD,NORTH"
replace GB70_enep = 2.502468 if GB70_district_name == "BRADFORD,SOUTH"
replace GB70_enep = 1.996955 if GB70_district_name == "BRADFORD,WEST"
replace GB70_enep = 3.020689 if GB70_district_name == "BRECON AND RADNOR"
replace GB70_enep = 1.999309 if GB70_district_name == "BRENTFORD AND CHISWICK"
replace GB70_enep = 2.403748 if GB70_district_name == "BRIDGWATER"
replace GB70_enep = 2.312268 if GB70_district_name == "BRIDLINGTON"
replace GB70_enep = 1.91345 if GB70_district_name == "BRIERLEY HILL"
replace GB70_enep = 1.990882 if GB70_district_name == "BRIGG"
replace GB70_enep = 2.312029 if GB70_district_name == "BRIGHOUSE AND SPENBOROUGH"
replace GB70_enep = 2.308801 if GB70_district_name == "BRIGHTON,KEMPTOWN"
replace GB70_enep = 1.972249 if GB70_district_name == "BRIGHTON,PAVILION"
replace GB70_enep = 2.384056 if GB70_district_name == "BRISTOL,CENTRAL"
replace GB70_enep = 1.999799 if GB70_district_name == "BRISTOL,NORTH EAST"
replace GB70_enep = 2.286407 if GB70_district_name == "BRISTOL,NORTH WEST"
replace GB70_enep = 1.894419 if GB70_district_name == "BRISTOL,SOUTH"
replace GB70_enep = 1.976939 if GB70_district_name == "BRISTOL,SOUTH EAST"
replace GB70_enep = 2.242138 if GB70_district_name == "BRISTOL,WEST"
replace GB70_enep = 2.278422 if GB70_district_name == "BROMLEY"
replace GB70_enep = 1.944247 if GB70_district_name == "BROMSGROVE"
replace GB70_enep = 2.374302 if GB70_district_name == "BUCKINGHAM"
replace GB70_enep = 2.315089 if GB70_district_name == "SOUTH BUCKINGHAMSHIRE"
replace GB70_enep = 2.207518 if GB70_district_name == "BURNLEY"
replace GB70_enep = 1.985163 if GB70_district_name == "BURTON"
replace GB70_enep = 1.993563 if GB70_district_name == "BURY AND RADCLIFFE"
replace GB70_enep = 1.904878 if GB70_district_name == "BURY ST.EDMUNDS"
replace GB70_enep = 3.157941 if GB70_district_name == "CAERNARVON"
replace GB70_enep = 2.115463 if GB70_district_name == "CAERPHILLY"
replace GB70_enep = 3.654728 if GB70_district_name == "CAITHNESS AND SUTHERLAND"
replace GB70_enep = 2.315502 if GB70_district_name == "CAMBERWELL,DULWICH"
replace GB70_enep = 1.782485 if GB70_district_name == "CAMBERWELL,PECKHAM"
replace GB70_enep = 1.977497 if GB70_district_name == "CAMBRIDGE"
replace GB70_enep = 2.349129 if GB70_district_name == "CAMBRIDGESHIRE"
replace GB70_enep = 1.998852 if GB70_district_name == "CANNOCK"
replace GB70_enep = 2.449049 if GB70_district_name == "CANTERBURY"
replace GB70_enep = 2.4285 if GB70_district_name == "CARDIFF,NORTH"
replace GB70_enep = 2.268839 if GB70_district_name == "CARDIFF,SOUTH EAST"
replace GB70_enep = 2.548187 if GB70_district_name == "CARDIFF,WEST"
replace GB70_enep = 3.729851 if GB70_district_name == "CARDIGAN"
replace GB70_enep = 1.991878 if GB70_district_name == "CARLISLE"
replace GB70_enep = 1.929368 if GB70_district_name == "CARLTON"
replace GB70_enep = 3.415066 if GB70_district_name == "CARMARTHEN"
replace GB70_enep = 2.38821 if GB70_district_name == "CARSHALTON"
replace GB70_enep = 2.384008 if GB70_district_name == "CHEADLE"
replace GB70_enep = 2.279688 if GB70_district_name == "CHELMSFORD"
replace GB70_enep = 2.032792 if GB70_district_name == "CHELSEA"
replace GB70_enep = 2.603651 if GB70_district_name == "CHELTENHAM"
replace GB70_enep = 2.283648 if GB70_district_name == "CHERTSEY"
replace GB70_enep = 2.353786 if GB70_district_name == "CITY OF CHESTER"
replace GB70_enep = 2.19103 if GB70_district_name == "CHESTERFIELD"
replace GB70_enep = 1.685392 if GB70_district_name == "CHESTER-LE-STREET"
replace GB70_enep = 2.162019 if GB70_district_name == "CHICHESTER"
replace GB70_enep = 1.930307 if GB70_district_name == "CHIGWELL"
replace GB70_enep = 2.662796 if GB70_district_name == "CHIPPENHAM"
replace GB70_enep = 2.336053 if GB70_district_name == "CHISLEHURST"
replace GB70_enep = 2.349681 if GB70_district_name == "CHORLEY"
replace GB70_enep = 2.363767 if GB70_district_name == "CIRENCESTER AND TEWKESBURY"
replace GB70_enep = 1.98867 if GB70_district_name == "CLEVELAND"
replace GB70_enep = 2.434982 if GB70_district_name == "CLITHEROE"
replace GB70_enep = 2.111737 if GB70_district_name == "COATBRIDGE AND AIRDRIE"
replace GB70_enep = 2.414616 if GB70_district_name == "COLCHESTER"
replace GB70_enep = 2.834723 if GB70_district_name == "COLNE VALLEY"
replace GB70_enep = 1.703261 if GB70_district_name == "CONSETT"
replace GB70_enep = 2.797344 if GB70_district_name == "CONWAY"
replace GB70_enep = 2.172909 if GB70_district_name == "NORTH CORNWALL"
replace GB70_enep = 1.973726 if GB70_district_name == "COVENTRY,EAST"
replace GB70_enep = 1.9649 if GB70_district_name == "COVENTRY,NORTH"
replace GB70_enep = 1.997125 if GB70_district_name == "COVENTRY,SOUTH"
replace GB70_enep = 1.985565 if GB70_district_name == "CREWE"
replace GB70_enep = 1.964581 if GB70_district_name == "CROSBY"
replace GB70_enep = 2.393832 if GB70_district_name == "CROYDON,NORTH EAST"
replace GB70_enep = 2.450521 if GB70_district_name == "CROYDON,NORTH WEST"
replace GB70_enep = 2.302657 if GB70_district_name == "CROYDON,SOUTH"
replace GB70_enep = 1.741916 if GB70_district_name == "DAGENHAM"
replace GB70_enep = 2.428015 if GB70_district_name == "DARLINGTON"
replace GB70_enep = 2.368902 if GB70_district_name == "DARTFORD"
replace GB70_enep = 2.433817 if GB70_district_name == "DARWEN"
replace GB70_enep = 1.677349 if GB70_district_name == "DEARNE VALLEY"
replace GB70_enep = 3.197612 if GB70_district_name == "DENBIGH"
replace GB70_enep = 2.004014 if GB70_district_name == "DEPTFORD"
replace GB70_enep = 1.982235 if GB70_district_name == "DERBY NORTH"
replace GB70_enep = 1.984529 if GB70_district_name == "DERBY SOUTH"
replace GB70_enep = 1.909825 if GB70_district_name == "NORTH EAST DERBYSHIRE"
replace GB70_enep = 1.996103 if GB70_district_name == "SOUTH EAST DERBYSHIRE"
replace GB70_enep = 1.89304 if GB70_district_name == "WEST DERBYSHIRE"
replace GB70_enep = 2.398067 if GB70_district_name == "DEVIZES"
replace GB70_enep = 2.523787 if GB70_district_name == "NORTH DEVON"
replace GB70_enep = 2.481825 if GB70_district_name == "DEWSBURY"
replace GB70_enep = 2.228827 if GB70_district_name == "DONCASTER"
replace GB70_enep = 1.736593 if GB70_district_name == "DON VALLEY"
replace GB70_enep = 2.296099 if GB70_district_name == "DORKING"
replace GB70_enep = 2.346422 if GB70_district_name == "NORTH DORSET"
replace GB70_enep = 2.31611 if GB70_district_name == "SOUTH DORSET"
replace GB70_enep = 2.488656 if GB70_district_name == "WEST DORSET"
replace GB70_enep = 1.998415 if GB70_district_name == "DOVER"
replace GB70_enep = 1.917477 if GB70_district_name == "DOWN NORTH"
replace GB70_enep = 2.367256 if GB70_district_name == "DOWN SOUTH"
replace GB70_enep = 1.999934 if GB70_district_name == "DUDLEY"
replace GB70_enep = 2.425416 if GB70_district_name == "DUMFRIES"
replace GB70_enep = 2.8422 if GB70_district_name == "EAST DUNBARTONSHIRE"
replace GB70_enep = 2.431694 if GB70_district_name == "WEST DUNBARTONSHIRE"
replace GB70_enep = 2.375047 if GB70_district_name == "DUNDEE EAST"
replace GB70_enep = 2.386046 if GB70_district_name == "DUNDEE WEST"
replace GB70_enep = 2.284798 if GB70_district_name == "DUNFERMLINE BURGHS"
replace GB70_enep = 1.794958 if GB70_district_name == "DURHAM"
replace GB70_enep = 1.733618 if GB70_district_name == "NORTH WEST DURHAM"
replace GB70_enep = 1.999906 if GB70_district_name == "EALING,NORTH"
replace GB70_enep = 2.319089 if GB70_district_name == "EALING,SOUTH"
replace GB70_enep = 1.475671 if GB70_district_name == "EASINGTON"
replace GB70_enep = 2.514 if GB70_district_name == "EASTBOURNE"
replace GB70_enep = 2.224591 if GB70_district_name == "EAST GRINSTEAD"
replace GB70_enep = 1.924467 if GB70_district_name == "EAST HAM,NORTH"
replace GB70_enep = 1.893153 if GB70_district_name == "EAST HAM,SOUTH"
replace GB70_enep = 2.415077 if GB70_district_name == "EASTLEIGH"
replace GB70_enep = 1.806061 if GB70_district_name == "EBBW VALE"
replace GB70_enep = 2.026638 if GB70_district_name == "ECCLES"
replace GB70_enep = 2.674799 if GB70_district_name == "EDINBURGH CENTRAL"
replace GB70_enep = 2.337935 if GB70_district_name == "EDINBURGH EAST"
replace GB70_enep = 2.561283 if GB70_district_name == "EDINBURGH LEITH"
replace GB70_enep = 2.341853 if GB70_district_name == "EDINBURGH NORTH"
replace GB70_enep = 2.641542 if GB70_district_name == "EDINBURGH PENTLANDS"
replace GB70_enep = 2.653077 if GB70_district_name == "EDINBURGH SOUTH"
replace GB70_enep = 2.619634 if GB70_district_name == "EDINBURGH WEST"
replace GB70_enep = 2.279121 if GB70_district_name == "EDMONTON"
replace GB70_enep = 2.383476 if GB70_district_name == "ENFIELD,EAST"
replace GB70_enep = 2.373728 if GB70_district_name == "ENFIELD,WEST"
replace GB70_enep = 1.998151 if GB70_district_name == "EPPING"
replace GB70_enep = 2.206794 if GB70_district_name == "EPSOM"
replace GB70_enep = 1.97258 if GB70_district_name == "ERITH AND CRAYFORD"
replace GB70_enep = 2.177096 if GB70_district_name == "ESHER"
replace GB70_enep = 2.223439 if GB70_district_name == "SOUTH EAST ESSEX"
replace GB70_enep = 2.277153 if GB70_district_name == "ETON AND SLOUGH"
replace GB70_enep = 2.511842 if GB70_district_name == "EXETER"
replace GB70_enep = 2.404539 if GB70_district_name == "EYE"
replace GB70_enep = 2.600956 if GB70_district_name == "FALMOUTH AND CAMBORNE"
replace GB70_enep = 2.395973 if GB70_district_name == "FARNHAM"
replace GB70_enep = 1.944067 if GB70_district_name == "FARNWORTH"
replace GB70_enep = 1.990786 if GB70_district_name == "FAVERSHAM"
replace GB70_enep = 2.303055 if GB70_district_name == "FELTHAM"
replace GB70_enep = 1.999018 if GB70_district_name == "FERMANAGH AND SOUTH TYRONE"
replace GB70_enep = 2.628562 if GB70_district_name == "EAST FIFE"
replace GB70_enep = 2.202829 if GB70_district_name == "WEST FIFE"
replace GB70_enep = 2.463624 if GB70_district_name == "FINCHLEY"
replace GB70_enep = 2.677882 if GB70_district_name == "EAST FLINTSHIRE"
replace GB70_enep = 2.950595 if GB70_district_name == "WEST FLINTSHIRE"
replace GB70_enep = 1.915592 if GB70_district_name == "FOLKESTONE AND HYTHE"
replace GB70_enep = 2.042919 if GB70_district_name == "FULHAM"
replace GB70_enep = 2.576051 if GB70_district_name == "GAINSBOROUGH"
replace GB70_enep = 2.905529 if GB70_district_name == "GALLOWAY"
replace GB70_enep = 1.838722 if GB70_district_name == "GATESHEAD EAST"
replace GB70_enep = 1.768963 if GB70_district_name == "GATESHEAD WEST"
replace GB70_enep = 1.939382 if GB70_district_name == "GILLINGHAM"
replace GB70_enep = 2.201792 if GB70_district_name == "GLASGOW BRIDGETON"
replace GB70_enep = 2.01426 if GB70_district_name == "GLASGOW CATHCART"
replace GB70_enep = 2.01832 if GB70_district_name == "GLASGOW CENTRAL"
replace GB70_enep = 2.226314 if GB70_district_name == "GLASGOW CRAIGTON"
replace GB70_enep = 1.886834 if GB70_district_name == "GLASGOW GORBALS"
replace GB70_enep = 2.215148 if GB70_district_name == "GLASGOW GOVAN"
replace GB70_enep = 2.102229 if GB70_district_name == "GLASGOW HILLHEAD"
replace GB70_enep = 1.989367 if GB70_district_name == "GLASGOW KELVINGROVE"
replace GB70_enep = 2.013689 if GB70_district_name == "GLASGOW MARYHILL"
replace GB70_enep = 2.365821 if GB70_district_name == "GLASGOW POLLOK"
replace GB70_enep = 2.184375 if GB70_district_name == "GLASGOW PROVAN"
replace GB70_enep = 2.286441 if GB70_district_name == "GLASGOW SCOTSTOUN"
replace GB70_enep = 2.233367 if GB70_district_name == "GLASGOW SHETTLESTON"
replace GB70_enep = 2.116961 if GB70_district_name == "GLASGOW SPRINGBURN"
replace GB70_enep = 2.471029 if GB70_district_name == "GLASGOW WOODSIDE"
replace GB70_enep = 2.344965 if GB70_district_name == "GLOUCESTER"
replace GB70_enep = 2.406328 if GB70_district_name == "SOUTH GLOUCESTERSHIRE"
replace GB70_enep = 2.409991 if GB70_district_name == "WEST GLOUCESTERSHIRE"
replace GB70_enep = 1.919832 if GB70_district_name == "GOOLE"
replace GB70_enep = 2.451268 if GB70_district_name == "GOSPORT AND FAREHAM"
replace GB70_enep = 2.116958 if GB70_district_name == "GOWER"
replace GB70_enep = 1.941619 if GB70_district_name == "GRANTHAM"
replace GB70_enep = 2.334786 if GB70_district_name == "GRAVESEND"
replace GB70_enep = 2.045544 if GB70_district_name == "GREENOCK"
replace GB70_enep = 2.154196 if GB70_district_name == "GREENWICH"
replace GB70_enep = 2.301362 if GB70_district_name == "GRIMSBY"
replace GB70_enep = 2.439297 if GB70_district_name == "GUILDFORD"
replace GB70_enep = 1.868356 if GB70_district_name == "HACKNEY CENTRAL"
replace GB70_enep = 2.070093 if GB70_district_name == "HALIFAX"
replace GB70_enep = 2.498324 if GB70_district_name == "HALTEMPRICE"
replace GB70_enep = 2.401829 if GB70_district_name == "HAMILTON"
replace GB70_enep = 1.879242 if GB70_district_name == "HAMMERSMITH NORTH"
replace GB70_enep = 2.318574 if GB70_district_name == "HAMPSTEAD"
replace GB70_enep = 2.301014 if GB70_district_name == "HARBOROUGH"
replace GB70_enep = 2.282765 if GB70_district_name == "HARROGATE"
replace GB70_enep = 2.442996 if GB70_district_name == "HARROW,CENTRAL"
replace GB70_enep = 2.320372 if GB70_district_name == "HARROW,EAST"
replace GB70_enep = 2.238628 if GB70_district_name == "HARROW,WEST"
replace GB70_enep = 1.951926 if GB70_district_name == "THE HARTLEPOOLS"
replace GB70_enep = 2.428122 if GB70_district_name == "HARWICH"
replace GB70_enep = 2.536606 if GB70_district_name == "HASTINGS"
replace GB70_enep = 1.990122 if GB70_district_name == "HAYES AND HARLINGTON"
replace GB70_enep = 2.411484 if GB70_district_name == "HEMEL HEMPSTEAD"
replace GB70_enep = 1.450943 if GB70_district_name == "HEMSWORTH"
replace GB70_enep = 2.389709 if GB70_district_name == "HENDON,NORTH"
replace GB70_enep = 2.46319 if GB70_district_name == "HENDON,SOUTH"
replace GB70_enep = 2.494892 if GB70_district_name == "HENLEY"
replace GB70_enep = 2.388577 if GB70_district_name == "HEREFORD"
replace GB70_enep = 2.302365 if GB70_district_name == "HERTFORD"
replace GB70_enep = 2.329113 if GB70_district_name == "EAST HERTFORDSHIRE"
replace GB70_enep = 2.46443 if GB70_district_name == "SOUTH WEST HERTFORDSHIRE"
replace GB70_enep = 1.97195 if GB70_district_name == "HESTON AND ISLEWORTH"
replace GB70_enep = 2.43469 if GB70_district_name == "HEXHAM"
replace GB70_enep = 2.418619 if GB70_district_name == "HEYWOOD AND ROYTON"
replace GB70_enep = 2.635688 if GB70_district_name == "HIGH PEAK"
replace GB70_enep = 2.293458 if GB70_district_name == "HITCHIN"
replace GB70_enep = 1.979041 if GB70_district_name == "HOLBORN AND ST.PANCRAS"
replace GB70_enep = 1.949152 if GB70_district_name == "HOLLAND WITH BOSTON"
replace GB70_enep = 2.294127 if GB70_district_name == "HONITON"
replace GB70_enep = 2.451205 if GB70_district_name == "HORNCASTLE"
replace GB70_enep = 2.333594 if GB70_district_name == "HORNCHURCH"
replace GB70_enep = 2.421708 if GB70_district_name == "HORNSEY"
replace GB70_enep = 2.352278 if GB70_district_name == "HORSHAM"
replace GB70_enep = 1.640469 if GB70_district_name == "HOUGHTON-LE-SPRING"
replace GB70_enep = 1.755138 if GB70_district_name == "HOVE"
replace GB70_enep = 2.392591 if GB70_district_name == "HOWDEN"
replace GB70_enep = 2.449515 if GB70_district_name == "HUDDERSFIELD,EAST"
replace GB70_enep = 2.804993 if GB70_district_name == "HUDDERSFIELD,WEST"
replace GB70_enep = 2.308685 if GB70_district_name == "HUNTINGDONSHIRE"
replace GB70_enep = 1.943665 if GB70_district_name == "HUYTON"
replace GB70_enep = 2.38534 if GB70_district_name == "ILFORD,NORTH"
replace GB70_enep = 2.459041 if GB70_district_name == "ILFORD,SOUTH"
replace GB70_enep = 2.197134 if GB70_district_name == "ILKESTON"
replace GB70_enep = 1.760034 if GB70_district_name == "INCE"
replace GB70_enep = 3.283235 if GB70_district_name == "INVERNESS"
replace GB70_enep = 2.523252 if GB70_district_name == "IPSWICH"
replace GB70_enep = 1.924017 if GB70_district_name == "THE ISLE OF ELY"
replace GB70_enep = 2.525238 if GB70_district_name == "ISLE OF THANET"
replace GB70_enep = 2.658858 if GB70_district_name == "ISLE OF WIGHT"
replace GB70_enep = 1.895345 if GB70_district_name == "ISLINGTON,EAST"
replace GB70_enep = 2.100645 if GB70_district_name == "ISLINGTON,NORTH"
replace GB70_enep = 2.107887 if GB70_district_name == "ISLINGTON,SOUTH WEST"
replace GB70_enep = 1.86358 if GB70_district_name == "JARROW"
replace GB70_enep = 1.999555 if GB70_district_name == "KEIGHLEY"
replace GB70_enep = 2.277971 if GB70_district_name == "KENSINGTON,NORTH"
replace GB70_enep = 1.581842 if GB70_district_name == "KENSINGTON,SOUTH"
replace GB70_enep = 2.370933 if GB70_district_name == "KETTERING"
replace GB70_enep = 2.47173 if GB70_district_name == "KIDDERMINSTER"
replace GB70_enep = 2.284026 if GB70_district_name == "KILMARNOCK"
replace GB70_enep = 1.999999 if GB70_district_name == "KING'S LYNN"
replace GB70_enep = 1.689398 if GB70_district_name == "KINGSTON-UPON-HULL EAST"
replace GB70_enep = 2.084867 if GB70_district_name == "KINGSTON-UPON-HULL NORTH"
replace GB70_enep = 1.885407 if GB70_district_name == "KINGSTON-UPON-HULL WEST"
replace GB70_enep = 2.298739 if GB70_district_name == "KINGSTON UPON THAMES"
replace GB70_enep = 2.534343 if GB70_district_name == "KINROSS AND WEST PERTHSHIRE"
replace GB70_enep = 2.319981 if GB70_district_name == "KIRKCALDY BURGHS"
replace GB70_enep = 2.279446 if GB70_district_name == "KNUTSFORD"
replace GB70_enep = 1.958255 if GB70_district_name == "LAMBETH,BRIXTON"
replace GB70_enep = 2.283404 if GB70_district_name == "LAMBETH,NORWOOD"
replace GB70_enep = 1.862834 if GB70_district_name == "LAMBETH,VAUXHALL"
replace GB70_enep = 2.578296 if GB70_district_name == "LANARK"
replace GB70_enep = 2.299043 if GB70_district_name == "NORTH LANARKSHIRE"
replace GB70_enep = 2.257699 if GB70_district_name == "LANCASTER"
replace GB70_enep = 1.993307 if GB70_district_name == "LEEDS,EAST"
replace GB70_enep = 1.961926 if GB70_district_name == "LEEDS,NORTH EAST"
replace GB70_enep = 2.375891 if GB70_district_name == "LEEDS,NORTH WEST"
replace GB70_enep = 2.208645 if GB70_district_name == "LEEDS,SOUTH"
replace GB70_enep = 2.061208 if GB70_district_name == "LEEDS,SOUTH EAST"
replace GB70_enep = 2.438413 if GB70_district_name == "LEEDS,WEST"
replace GB70_enep = 2.419237 if GB70_district_name == "LEEK"
replace GB70_enep = 2.212294 if GB70_district_name == "LEICESTER,NORTH EAST"
replace GB70_enep = 2.421253 if GB70_district_name == "LEICESTER,NORTH WEST"
replace GB70_enep = 1.879674 if GB70_district_name == "LEICESTER,SOUTH EAST"
replace GB70_enep = 2.385591 if GB70_district_name == "LEICESTER,SOUTH WEST"
replace GB70_enep = 2.182241 if GB70_district_name == "LEIGH"
replace GB70_enep = 2.356385 if GB70_district_name == "LEOMINSTER"
replace GB70_enep = 2.313482 if GB70_district_name == "LEWES"
replace GB70_enep = 1.998322 if GB70_district_name == "LEWISHAM,NORTH"
replace GB70_enep = 2.040405 if GB70_district_name == "LEWISHAM,SOUTH"
replace GB70_enep = 1.999225 if GB70_district_name == "LEWISHAM,WEST"
replace GB70_enep = 1.965384 if GB70_district_name == "LEYTON"
replace GB70_enep = 1.997874 if GB70_district_name == "LICHFIELD AND TAMWORTH"
replace GB70_enep = 2.36813 if GB70_district_name == "LINCOLN"
replace GB70_enep = 1.953382 if GB70_district_name == "LIVERPOOL,EDGE HILL"
replace GB70_enep = 1.774277 if GB70_district_name == "LIVERPOOL,EXCHANGE"
replace GB70_enep = 1.962116 if GB70_district_name == "LIVERPOOL,GARSTON"
replace GB70_enep = 1.966843 if GB70_district_name == "LIVERPOOL,KIRKDALE"
replace GB70_enep = 1.606301 if GB70_district_name == "LIVERPOOL,SCOTLAND"
replace GB70_enep = 1.984833 if GB70_district_name == "LIVERPOOL,TOXTETH"
replace GB70_enep = 1.971513 if GB70_district_name == "LIVERPOOL,WALTON"
replace GB70_enep = 2.774835 if GB70_district_name == "LIVERPOOL,WAVERTREE"
replace GB70_enep = 1.95798 if GB70_district_name == "LIVERPOOL,WEST DERBY"
replace GB70_enep = 2.263145 if GB70_district_name == "LLANELLI"
replace GB70_enep = 2.185549 if GB70_district_name == "CITIES OF LONDON AND WESTMINSTER"
replace GB70_enep = 1.992342 if GB70_district_name == "LONDONDERRY COUNTY"
replace GB70_enep = 2.422121 if GB70_district_name == "LOUGHBOROUGH"
replace GB70_enep = 2.416929 if GB70_district_name == "LOUTH"
replace GB70_enep = 2.315598 if GB70_district_name == "LOWESTOFT"
replace GB70_enep = 2.386816 if GB70_district_name == "LUDLOW"
replace GB70_enep = 2.037487 if GB70_district_name == "LUTON"
replace GB70_enep = 2.477223 if GB70_district_name == "MACCLESFIELD"
replace GB70_enep = 2.568448 if GB70_district_name == "MAIDSTONE"
replace GB70_enep = 2.362045 if GB70_district_name == "MALDON"
replace GB70_enep = 1.970307 if GB70_district_name == "MANCHESTER,ARDWICK"
replace GB70_enep = 1.991706 if GB70_district_name == "MANCHESTER,BLACKLEY"
replace GB70_enep = 1.852566 if GB70_district_name == "MANCHESTER,CHEETHAM"
replace GB70_enep = 1.823775 if GB70_district_name == "MANCHESTER,EXCHANGE"
replace GB70_enep = 2.230411 if GB70_district_name == "MANCHESTER,GORTON"
replace GB70_enep = 1.993224 if GB70_district_name == "MANCHESTER,MOSS SIDE"
replace GB70_enep = 1.970175 if GB70_district_name == "MANCHESTER,OPENSHAW"
replace GB70_enep = 2.453999 if GB70_district_name == "MANCHESTER,WITHINGTON"
replace GB70_enep = 1.978155 if GB70_district_name == "MANCHESTER,WYTHENSHAWE"
replace GB70_enep = 1.841145 if GB70_district_name == "MANSFIELD"
replace GB70_enep = 2.354951 if GB70_district_name == "MELTON"
replace GB70_enep = 1.992186 if GB70_district_name == "MERIDEN"
replace GB70_enep = 3.495355 if GB70_district_name == "MERIONETH"
replace GB70_enep = 2.698898 if GB70_district_name == "MERTHYR TYDFIL"
replace GB70_enep = 2.29593 if GB70_district_name == "MERTON AND MORDEN"
replace GB70_enep = 1.699651 if GB70_district_name == "MIDDLESBROUGH,EAST"
replace GB70_enep = 1.999847 if GB70_district_name == "MIDDLESBROUGH,WEST"
replace GB70_enep = 2.578147 if GB70_district_name == "MIDDLETON AND PRESTWICK"
replace GB70_enep = 2.476763 if GB70_district_name == "MIDLOTHIAN"
replace GB70_enep = 2.028762 if GB70_district_name == "MITCHAM"
replace GB70_enep = 2.392001 if GB70_district_name == "MONMOUTH"
replace GB70_enep = 3.449524 if GB70_district_name == "MONTGOMERY"
replace GB70_enep = 2.678757 if GB70_district_name == "MORAY AND NAIRN"
replace GB70_enep = 2.335119 if GB70_district_name == "MORECAMBE AND LONSDALE"
replace GB70_enep = 2.216201 if GB70_district_name == "MORPETH"
replace GB70_enep = 2.509169 if GB70_district_name == "MOTHERWELL"
replace GB70_enep = 2.708174 if GB70_district_name == "NANTWICH"
replace GB70_enep = 1.819916 if GB70_district_name == "NEATH"
replace GB70_enep = 1.997301 if GB70_district_name == "NELSON AND COLNE"
replace GB70_enep = 1.998886 if GB70_district_name == "NEWARK"
replace GB70_enep = 2.682842 if GB70_district_name == "NEWBURY"
replace GB70_enep = 2.28801 if GB70_district_name == "NEWCASTLE UNDER LYME"
replace GB70_enep = 1.810121 if GB70_district_name == "NEWCASTLE-UPON-TYNE CENTRAL"
replace GB70_enep = 1.948191 if GB70_district_name == "NEWCASTLE-UPON-TYNE EAST"
replace GB70_enep = 1.970942 if GB70_district_name == "NEWCASTLE-UPON-TYNE NORTH"
replace GB70_enep = 1.940791 if GB70_district_name == "NEWCASTLE-UPONTYNE WEST"
replace GB70_enep = 2.259826 if GB70_district_name == "NEW FOREST"
replace GB70_enep = 2.098986 if GB70_district_name == "NEWPORT"
replace GB70_enep = 2.300584 if GB70_district_name == "NEWTON"
replace GB70_enep = 2.27643 if GB70_district_name == "CENTRAL NORFOLK"
replace GB70_enep = 1.978074 if GB70_district_name == "NORTH NORFOLK"
replace GB70_enep = 2.315682 if GB70_district_name == "SOUTH NORFOLK"
replace GB70_enep = 1.958483 if GB70_district_name == "SOUTH WEST NORFOLK"
replace GB70_enep = 1.761525 if GB70_district_name == "NORMANTON"
replace GB70_enep = 1.998929 if GB70_district_name == "NORTHAMPTON"
replace GB70_enep = 2.418074 if GB70_district_name == "SOUTH NORTHAMPTONSHIRE"
replace GB70_enep = 1.751212 if GB70_district_name == "NORTH FYLDE"
replace GB70_enep = 2.334412 if GB70_district_name == "NORTHWICH"
replace GB70_enep = 1.989255 if GB70_district_name == "NORWICH,NORTH"
replace GB70_enep = 2.340359 if GB70_district_name == "NORWICH,SOUTH"
replace GB70_enep = 1.97513 if GB70_district_name == "NOTTINGHAM,CENTRAL"
replace GB70_enep = 2.328325 if GB70_district_name == "NOTTINGHAM,NORTH"
replace GB70_enep = 1.988834 if GB70_district_name == "NOTTINGHAM,SOUTH"
replace GB70_enep = 1.993761 if GB70_district_name == "NOTTINGHAM,WEST"
replace GB70_enep = 2.237726 if GB70_district_name == "NUNEATON"
replace GB70_enep = 1.958105 if GB70_district_name == "OGMORE"
replace GB70_enep = 1.994617 if GB70_district_name == "OLDBURY AND HALESOWEN"
replace GB70_enep = 1.998958 if GB70_district_name == "OLDHAM,EAST"
replace GB70_enep = 2.3543 if GB70_district_name == "OLDHAM,WEST"
replace GB70_enep = 2.72464 if GB70_district_name == "ORKNEY AND ZETLAND"
replace GB70_enep = 1.90139 if GB70_district_name == "ORMSKIRK"
replace GB70_enep = 2.323917 if GB70_district_name == "ORPINGTON"
replace GB70_enep = 2.632606 if GB70_district_name == "OSWESTRY"
replace GB70_enep = 2.391143 if GB70_district_name == "OXFORD"
replace GB70_enep = 2.145417 if GB70_district_name == "PADDINGTON,NORTH"
replace GB70_enep = 2.237994 if GB70_district_name == "PADDINGTON,SOUTH"
replace GB70_enep = 2.458486 if GB70_district_name == "PAISLEY"
replace GB70_enep = 3.58533 if GB70_district_name == "PEMBROKE"
replace GB70_enep = 2.274405 if GB70_district_name == "PENISTONE"
replace GB70_enep = 2.290736 if GB70_district_name == "PENRITH AND THE BORDERS"
replace GB70_enep = 2.76353 if GB70_district_name == "PERTH AND EAST PERTHSHIRE"
replace GB70_enep = 1.986745 if GB70_district_name == "PETERBOROUGH"
replace GB70_enep = 2.307957 if GB70_district_name == "PETERSFIELD"
replace GB70_enep = 1.9979 if GB70_district_name == "PLYMOUTH,DEVONPORT"
replace GB70_enep = 1.999668 if GB70_district_name == "PLYMOUTH,SUTTON"
replace GB70_enep = 1.604323 if GB70_district_name == "PONTEFRACT"
replace GB70_enep = 1.801416 if GB70_district_name == "PONTYPOOL"
replace GB70_enep = 2.487653 if GB70_district_name == "PONTYPRIDD"
replace GB70_enep = 2.495009 if GB70_district_name == "POOLE"
replace GB70_enep = 1.461098 if GB70_district_name == "POPLAR"
replace GB70_enep = 2.380445 if GB70_district_name == "PORTSMOUTH,LANGSTON"
replace GB70_enep = 1.866417 if GB70_district_name == "PORTSMOUTH,SOUTH"
replace GB70_enep = 2.067043 if GB70_district_name == "PORTSMOUTH,WEST"
replace GB70_enep = 2.239045 if GB70_district_name == "PRESTON,NORTH"
replace GB70_enep = 1.997746 if GB70_district_name == "PRESTON,SOUTH"
replace GB70_enep = 2.508476 if GB70_district_name == "PUDSEY"
replace GB70_enep = 2.073259 if GB70_district_name == "READING"
replace GB70_enep = 2.475011 if GB70_district_name == "REIGATE"
replace GB70_enep = 2.67648 if GB70_district_name == "EAST RENFREWSHIRE"
replace GB70_enep = 2.352558 if GB70_district_name == "WEST RENFREWSHIRE"
replace GB70_enep = 1.875835 if GB70_district_name == "RHONDDA,EAST"
replace GB70_enep = 1.709182 if GB70_district_name == "RHONDDA,WEST"
replace GB70_enep = 2.54653 if GB70_district_name == "RICHMOND (SURREY)"
replace GB70_enep = 2.105405 if GB70_district_name == "RICHMOND (YORKSHIRE)"
replace GB70_enep = 2.201446 if GB70_district_name == "RIPON"
replace GB70_enep = 2.908759 if GB70_district_name == "ROCHDALE"
replace GB70_enep = 1.98144 if GB70_district_name == "ROCHESTER AND CHATHAM"
replace GB70_enep = 1.994599 if GB70_district_name == "ROMFORD"
replace GB70_enep = 3.622087 if GB70_district_name == "ROSS AND CROMARTY"
replace GB70_enep = 1.995367 if GB70_district_name == "ROSSENDALE"
replace GB70_enep = 1.805542 if GB70_district_name == "ROTHERHAM"
replace GB70_enep = 1.680829 if GB70_district_name == "ROTHER VALLEY"
replace GB70_enep = 1.896627 if GB70_district_name == "ROWLEY REGIS AND TIPTON"
replace GB70_enep = 2.768818 if GB70_district_name == "ROXBURGH, SELKIRK AND PEEBLES"
replace GB70_enep = 2.013583 if GB70_district_name == "RUGBY"
replace GB70_enep = 2.163512 if GB70_district_name == "RUISLIP-NORTHWOOD"
replace GB70_enep = 2.386468 if GB70_district_name == "RUNCORN"
replace GB70_enep = 2.258071 if GB70_district_name == "RUSHCLIFFE"
replace GB70_enep = 2.159763 if GB70_district_name == "RUTHERGLEN"
replace GB70_enep = 1.921526 if GB70_district_name == "RUTLAND AND STAMFORD"
replace GB70_enep = 2.098001 if GB70_district_name == "RYE"
replace GB70_enep = 2.466424 if GB70_district_name == "SAFFRON WALDON"
replace GB70_enep = 2.464118 if GB70_district_name == "ST.ALBANS"
replace GB70_enep = 1.821028 if GB70_district_name == "ST.HELENS"
replace GB70_enep = 2.622988 if GB70_district_name == "ST.IVES"
replace GB70_enep = 2.088356 if GB70_district_name == "ST.MARYLEBONE"
replace GB70_enep = 2.004442 if GB70_district_name == "ST.PANCRAS NORTH"
replace GB70_enep = 2.296188 if GB70_district_name == "SALFORD,EAST"
replace GB70_enep = 1.985483 if GB70_district_name == "SALFORD,WEST"
replace GB70_enep = 1.918869 if GB70_district_name == "SALISBURY"
replace GB70_enep = 2.615023 if GB70_district_name == "SCARBOROUGH AND WHITBY"
replace GB70_enep = 1.915001 if GB70_district_name == "SEDGEFIELD"
replace GB70_enep = 2.502841 if GB70_district_name == "SEVENOAKS"
replace GB70_enep = 1.760526 if GB70_district_name == "SHEFFIELD,ATTERCLIFFE"
replace GB70_enep = 1.701115 if GB70_district_name == "SHEFFIELD,BRIGHTSIDE"
replace GB70_enep = 2.083174 if GB70_district_name == "SHEFFIELD,HALLAM"
replace GB70_enep = 2.290319 if GB70_district_name == "SHEFFIELD,HEELEY"
replace GB70_enep = 1.888872 if GB70_district_name == "SHEFFIELD,HILLSBOROUGH"
replace GB70_enep = 1.617456 if GB70_district_name == "SHEFFIELD,PARK"
replace GB70_enep = 2.401275 if GB70_district_name == "SHIPLEY"
replace GB70_enep = 1.795257 if GB70_district_name == "SHOREDITCH AND FINSBURY"
replace GB70_enep = 2.425321 if GB70_district_name == "SHREWSBURY"
replace GB70_enep = 2.581058 if GB70_district_name == "SKIPTON"
replace GB70_enep = 2.087819 if GB70_district_name == "SMETHWICK"
replace GB70_enep = 2.07796 if GB70_district_name == "SOLIHULL"
replace GB70_enep = 1.948997 if GB70_district_name == "NORTH SOMERSET"
replace GB70_enep = 2.145191 if GB70_district_name == "SOUTHALL"
replace GB70_enep = 1.95660150622 if GB70_district_name == "SOUTHAMPTON,ITCHEN"
replace GB70_enep = 2.340274 if GB70_district_name == "SOUTHAMPTON,TEST"
replace GB70_enep = 1.944218 if GB70_district_name == "SOUTHEND EAST"
replace GB70_enep = 2.240217 if GB70_district_name == "SOUTHEND WEST"
replace GB70_enep = 2.113649 if GB70_district_name == "SOUTH FYLDE"
replace GB70_enep = 2.215037 if GB70_district_name == "SOUTHGATE"
replace GB70_enep = 2.61956 if GB70_district_name == "SOUTHPORT"
replace GB70_enep = 1.92009 if GB70_district_name == "SOUTH SHIELDS"
replace GB70_enep = 1.870339 if GB70_district_name == "SOUTHWARK"
replace GB70_enep = 2.551328 if GB70_district_name == "SOWERBY"
replace GB70_enep = 2.301776 if GB70_district_name == "SPELTHORNE"
replace GB70_enep = 2.245244 if GB70_district_name == "STAFFORD AND STONE"
replace GB70_enep = 2.451214 if GB70_district_name == "STALYBRIDGE AND HYDE"
replace GB70_enep = 1.664354 if GB70_district_name == "STEPNEY"
replace GB70_enep = 2.504671 if GB70_district_name == "STIRLING AND FALKIRK"
replace GB70_enep = 2.749844 if GB70_district_name == "CLACKMANNAN AND EAST STIRLINGSHIRE"
replace GB70_enep = 2.680812 if GB70_district_name == "WEST STIRLINGSHIRE"
replace GB70_enep = 2.416505 if GB70_district_name == "STOCKPORT NORTH"
replace GB70_enep = 2.511161 if GB70_district_name == "STOCKPORT SOUTH"
replace GB70_enep = 2.013274 if GB70_district_name == "STOCKTON-ON-TEES"
replace GB70_enep = 1.937822 if GB70_district_name == "STOKE NEWINGTON AND HACKNEY NORTH"
replace GB70_enep = 1.881325 if GB70_district_name == "STOKE ON TRENT,CENTRAL"
replace GB70_enep = 1.810117 if GB70_district_name == "STOKE ON TRENT,NORTH"
replace GB70_enep = 1.949977 if GB70_district_name == "STOKE ON TRENT,SOUTH"
replace GB70_enep = 2.344632 if GB70_district_name == "STRATFORD"
replace GB70_enep = 1.988691 if GB70_district_name == "STRETFORD"
replace GB70_enep = 2.453102 if GB70_district_name == "STROUD"
replace GB70_enep = 2.359267 if GB70_district_name == "SUDBURY AND WOODBRIDGE"
replace GB70_enep = 1.913477 if GB70_district_name == "SUNDERLAND NORTH"
replace GB70_enep = 1.967446 if GB70_district_name == "SUNDERLAND SOUTH"
replace GB70_enep = 2.619019 if GB70_district_name == "SURBITON"
replace GB70_enep = 2.188768 if GB70_district_name == "EAST SURREY"
replace GB70_enep = 2.307685 if GB70_district_name == "SUTTON AND CHEAM"
replace GB70_enep = 2.325661 if GB70_district_name == "SUTTON COLDFIELD"
replace GB70_enep = 1.923575 if GB70_district_name == "SWANSEA,EAST"
replace GB70_enep = 2.241805 if GB70_district_name == "SWANSEA,WEST"
replace GB70_enep = 2.009872 if GB70_district_name == "SWINDON"
replace GB70_enep = 2.326887 if GB70_district_name == "TAUNTON"
replace GB70_enep = 2.387168 if GB70_district_name == "TAVISTOCK"
replace GB70_enep = 1.795715 if GB70_district_name == "THIRSK AND MALTON"
replace GB70_enep = 2.258507 if GB70_district_name == "THURROCK"
replace GB70_enep = 2.465648 if GB70_district_name == "TIVERTON"
replace GB70_enep = 2.495055 if GB70_district_name == "TONBRIDGE"
replace GB70_enep = 2.433124 if GB70_district_name == "TORQUAY"
replace GB70_enep = 2.470208 if GB70_district_name == "TORRINGTON"
replace GB70_enep = 2.438887 if GB70_district_name == "TOTNES"
replace GB70_enep = 1.903196 if GB70_district_name == "TOTTENHAM"
replace GB70_enep = 2.608556 if GB70_district_name == "TRURO"
replace GB70_enep = 2.404433 if GB70_district_name == "TWICKENHAM"
replace GB70_enep = 2.321354 if GB70_district_name == "TYNEMOUTH"
replace GB70_enep = 1.981044 if GB70_district_name == "ULSTER MID"
replace GB70_enep = 2.351929 if GB70_district_name == "UXBRIDGE"
replace GB70_enep = 2.195191 if GB70_district_name == "WAKEFIELD"
replace GB70_enep = 2.703559 if GB70_district_name == "WALLASEY"
replace GB70_enep = 1.902614 if GB70_district_name == "WALLSEND"
replace GB70_enep = 2.001358 if GB70_district_name == "WALSALL,NORTH"
replace GB70_enep = 1.930337 if GB70_district_name == "WALSALL,SOUTH"
replace GB70_enep = 2.340925 if GB70_district_name == "WALTHAMSTOW,EAST"
replace GB70_enep = 2.341697 if GB70_district_name == "WALTHAMSTOW,WEST"
replace GB70_enep = 1.98713 if GB70_district_name == "WANDSWORTH,CENTRAL"
replace GB70_enep = 2.38732 if GB70_district_name == "WANDSWORTH,CLAPHAM"
replace GB70_enep = 2.299492 if GB70_district_name == "WANDSWORTH,PUTNEY"
replace GB70_enep = 2.244243 if GB70_district_name == "WANDSWORTH,STREATHAM"
replace GB70_enep = 2.183381 if GB70_district_name == "WANSTEAD AND WOODFORD"
replace GB70_enep = 1.848941 if GB70_district_name == "WARRINGTON"
replace GB70_enep = 1.865955 if GB70_district_name == "WARWICK AND LEAMINGTON"
replace GB70_enep = 2.359228 if GB70_district_name == "WATFORD"
replace GB70_enep = 1.988652 if GB70_district_name == "WEDNESBURY"
replace GB70_enep = 1.996004 if GB70_district_name == "WELLINGBOROUGH"
replace GB70_enep = 2.610683 if GB70_district_name == "WELLS"
replace GB70_enep = 2.381882 if GB70_district_name == "WEMBLEY NORTH"
replace GB70_enep = 1.989536 if GB70_district_name == "WEMBLEY SOUTH"
replace GB70_enep = 1.978333 if GB70_district_name == "WEST BROMWICH"
replace GB70_enep = 2.564202 if GB70_district_name == "WESTBURY"
replace GB70_enep = 2.722168 if GB70_district_name == "WESTERN ISLES"
replace GB70_enep = 2.096679 if GB70_district_name == "WEST HAM NORTH"
replace GB70_enep = 1.530151 if GB70_district_name == "WEST HAM SOUTH"
replace GB70_enep = 1.976571 if GB70_district_name == "WESTHOUGHTON"
replace GB70_enep = 2.55044 if GB70_district_name == "WEST LOTHIAN"
replace GB70_enep = 2.459298 if GB70_district_name == "WESTMORLAND"
replace GB70_enep = 2.344099 if GB70_district_name == "WESTON SUPER MARE"
replace GB70_enep = 1.946095 if GB70_district_name == "WHITEHAVEN"
replace GB70_enep = 1.954115 if GB70_district_name == "WIDNES"
replace GB70_enep = 1.814858 if GB70_district_name == "WIGAN"
replace GB70_enep = 1.968487 if GB70_district_name == "WILLESDEN,EAST"
replace GB70_enep = 1.819502 if GB70_district_name == "WILLESDEN,WEST"
replace GB70_enep = 2.481436 if GB70_district_name == "WIMBLEDON"
replace GB70_enep = 2.463676 if GB70_district_name == "WINCHESTER"
replace GB70_enep = 2.235962 if GB70_district_name == "WINDSOR"
replace GB70_enep = 2.372422 if GB70_district_name == "WIRRAL"
replace GB70_enep = 2.35595 if GB70_district_name == "WOKING"
replace GB70_enep = 2.428778 if GB70_district_name == "WOKINGHAM"
replace GB70_enep = 2.182293 if GB70_district_name == "WOLVERHAMPTON NORTH EAST"
replace GB70_enep = 1.996422 if GB70_district_name == "WOLVERHAMPTON SOUTH WEST"
replace GB70_enep = 1.960431 if GB70_district_name == "WOOD GREEN"
replace GB70_enep = 1.82595 if GB70_district_name == "WOOLWICH,EAST"
replace GB70_enep = 1.999556 if GB70_district_name == "WOOLWICH,WEST"
replace GB70_enep = 1.946645 if GB70_district_name == "WORCESTER"
replace GB70_enep = 2.22622 if GB70_district_name == "SOUTH WORCESTERSHIRE"
replace GB70_enep = 1.896912 if GB70_district_name == "WORKINGTON"
replace GB70_enep = 2.042186 if GB70_district_name == "WORTHING"
replace GB70_enep = 1.999802 if GB70_district_name == "THE WREKIN"
replace GB70_enep = 2.402296 if GB70_district_name == "WREXHAM"
replace GB70_enep = 2.315476 if GB70_district_name == "WYCOMBE"
replace GB70_enep = 2.297794 if GB70_district_name == "YARMOUTH"
replace GB70_enep = 2.490599 if GB70_district_name == "YEOVIL"
replace GB70_enep = 1.997038 if GB70_district_name == "YORK"


******************************************************
** INCUMBENT PARTY REELECTED: 1970 GENERAL ELECTION **
******************************************************

gen GB70_reelected = .

replace GB70_reelected = 1 if GB70_district_name == "ABERAVON"
replace GB70_reelected = 1 if GB70_district_name == "ABERDARE"
replace GB70_reelected = 1 if GB70_district_name == "ABERDEEN NORTH"
replace GB70_reelected = 0 if GB70_district_name == "ABERDEEN SOUTH"
replace GB70_reelected = 1 if GB70_district_name == "EAST ABERDEENSHIRE"
replace GB70_reelected = 0 if GB70_district_name == "WEST ABERDEENSHIRE"
replace GB70_reelected = 1 if GB70_district_name == "ABERTILLERY"
replace GB70_reelected = 1 if GB70_district_name == "ABINGDON"
replace GB70_reelected = 1 if GB70_district_name == "ACCRINGTON"
replace GB70_reelected = 1 if GB70_district_name == "ACTON"
replace GB70_reelected = 1 if GB70_district_name == "ALDERSHOT"
replace GB70_reelected = 1 if GB70_district_name == "ALTRINCHAM AND SALE"
replace GB70_reelected = 1 if GB70_district_name == "ANGLESEY"
replace GB70_reelected = 1 if GB70_district_name == "NORTH ANGUS AND MEARNS"
replace GB70_reelected = 1 if GB70_district_name == "SOUTH ANGUS"
replace GB70_reelected = 0 if GB70_district_name == "ANTRIM NORTH"
replace GB70_reelected = 1 if GB70_district_name == "ANTRIM SOUTH"
replace GB70_reelected = 1 if GB70_district_name == "ARGYLL"
replace GB70_reelected = 1 if GB70_district_name == "ARMAGH"
replace GB70_reelected = 1 if GB70_district_name == "ARUNDEL AND SHOREHAM"
replace GB70_reelected = 1 if GB70_district_name == "ASHFIELD"
replace GB70_reelected = 1 if GB70_district_name == "ASHFORD"
replace GB70_reelected = 1 if GB70_district_name == "ASHTON UNDER LYNE"
replace GB70_reelected = 1 if GB70_district_name == "AYLESBURY"
replace GB70_reelected = 1 if GB70_district_name == "AYR"
replace GB70_reelected = 1 if GB70_district_name == "CENTRAL AYRSHIRE"
replace GB70_reelected = 1 if GB70_district_name == "BUTE AND NORTH AYRSHIRE"
replace GB70_reelected = 1 if GB70_district_name == "SOUTH AYRSHIRE"
replace GB70_reelected = 1 if GB70_district_name == "BANBURY"
replace GB70_reelected = 1 if GB70_district_name == "BANFF"
replace GB70_reelected = 1 if GB70_district_name == "BARKING"
replace GB70_reelected = 1 if GB70_district_name == "BARKSTON ASH"
replace GB70_reelected = 1 if GB70_district_name == "BARNET"
replace GB70_reelected = 1 if GB70_district_name == "BARNSLEY"
replace GB70_reelected = 1 if GB70_district_name == "BARONS COURT"
replace GB70_reelected = 1 if GB70_district_name == "BARROW IN FURNESS"
replace GB70_reelected = 1 if GB70_district_name == "BARRY"
replace GB70_reelected = 1 if GB70_district_name == "BASINGSTOKE"
replace GB70_reelected = 1 if GB70_district_name == "BASSETLAW"
replace GB70_reelected = 1 if GB70_district_name == "BATH"
replace GB70_reelected = 1 if GB70_district_name == "BATLEY AND MORLEY"
replace GB70_reelected = 1 if GB70_district_name == "BATTERSEA,NORTH"
replace GB70_reelected = 1 if GB70_district_name == "BATTERSEA,SOUTH"
replace GB70_reelected = 0 if GB70_district_name == "BEBINGTON"
replace GB70_reelected = 1 if GB70_district_name == "BECKENHAM"
replace GB70_reelected = 0 if GB70_district_name == "BEDFORD"
replace GB70_reelected = 1 if GB70_district_name == "MID-BEDFORDSHIRE"
replace GB70_reelected = 0 if GB70_district_name == "SOUTH BEDFORDSHIRE"
replace GB70_reelected = 1 if GB70_district_name == "BEDWELLTY"
replace GB70_reelected = 1 if GB70_district_name == "BELFAST EAST"
replace GB70_reelected = 1 if GB70_district_name == "BELFAST NORTH"
replace GB70_reelected = 1 if GB70_district_name == "BELFAST SOUTH"
replace GB70_reelected = 1 if GB70_district_name == "BELFAST WEST"
replace GB70_reelected = 0 if GB70_district_name == "BELPER"
replace GB70_reelected = 1 if GB70_district_name == "BERMONDSEY"
replace GB70_reelected = 1 if GB70_district_name == "BERWICK AND EAST LOTHIAN"
replace GB70_reelected = 1 if GB70_district_name == "BERWICK UPON TWEED"
replace GB70_reelected = 1 if GB70_district_name == "BETHNAL GREEN"
replace GB70_reelected = 1 if GB70_district_name == "BEXLEY"
replace GB70_reelected = 0 if GB70_district_name == "BILLERICAY"
replace GB70_reelected = 1 if GB70_district_name == "BILSTON"
replace GB70_reelected = 1 if GB70_district_name == "BIRKENHEAD"
replace GB70_reelected = 1 if GB70_district_name == "BIRMINGHAM,ALL SAINTS"
replace GB70_reelected = 1 if GB70_district_name == "BIRMINGHAM,ASTON"
replace GB70_reelected = 1 if GB70_district_name == "BIRMINGHAM,EDGBASTON"
replace GB70_reelected = 1 if GB70_district_name == "BIRMINGHAM,HALL GREEN"
replace GB70_reelected = 1 if GB70_district_name == "BIRMINGHAM,HANDSWORTH"
replace GB70_reelected = 1 if GB70_district_name == "BIRMINGHAM,LADYWOOD"
replace GB70_reelected = 1 if GB70_district_name == "BIRMINGHAM,NORTHFIED"
replace GB70_reelected = 0 if GB70_district_name == "BIRMINGHAM,PERRY BARR"
replace GB70_reelected = 1 if GB70_district_name == "BIRMINGHAM,SELLY OAK"
replace GB70_reelected = 1 if GB70_district_name == "BIRMINGHAM,SMALL HEATH"
replace GB70_reelected = 1 if GB70_district_name == "BIRMINGHAM,SPARKBROOK"
replace GB70_reelected = 1 if GB70_district_name == "BIRMINGHAM,STECHFORD"
replace GB70_reelected = 0 if GB70_district_name == "BIRMINGHAM,YARDLEY"
replace GB70_reelected = 1 if GB70_district_name == "BISHOP AUCKLAND"
replace GB70_reelected = 1 if GB70_district_name == "BLACKBURN"
replace GB70_reelected = 1 if GB70_district_name == "BLACKPOOL,NORTH"
replace GB70_reelected = 1 if GB70_district_name == "BLACKPOOL,SOUTH"
replace GB70_reelected = 1 if GB70_district_name == "BLAYDON"
replace GB70_reelected = 1 if GB70_district_name == "BLYTH"
replace GB70_reelected = 0 if GB70_district_name == "BODMIN"
replace GB70_reelected = 1 if GB70_district_name == "BOLSOVER"
replace GB70_reelected = 0 if GB70_district_name == "BOLTON,EAST"
replace GB70_reelected = 0 if GB70_district_name == "BOLTON,WEST"
replace GB70_reelected = 1 if GB70_district_name == "BOOTLE"
replace GB70_reelected = 0 if GB70_district_name == "BOSWORTH"
replace GB70_reelected = 1 if GB70_district_name == "BOTHWELL"
replace GB70_reelected = 1 if GB70_district_name == "BOURNEMOUTH EAST AND CHRISTCHURCH"
replace GB70_reelected = 1 if GB70_district_name == "BOURNEMOUTH WEST"
replace GB70_reelected = 1 if GB70_district_name == "BRADFORD,EAST"
replace GB70_reelected = 1 if GB70_district_name == "BRADFORD,NORTH"
replace GB70_reelected = 1 if GB70_district_name == "BRADFORD,SOUTH"
replace GB70_reelected = 0 if GB70_district_name == "BRADFORD,WEST"
replace GB70_reelected = 1 if GB70_district_name == "BRECON AND RADNOR"
replace GB70_reelected = 1 if GB70_district_name == "BRENTFORD AND CHISWICK"
replace GB70_reelected = 1 if GB70_district_name == "BRIDGWATER"
replace GB70_reelected = 1 if GB70_district_name == "BRIDLINGTON"
replace GB70_reelected = 1 if GB70_district_name == "BRIERLEY HILL"
replace GB70_reelected = 1 if GB70_district_name == "BRIGG"
replace GB70_reelected = 0 if GB70_district_name == "BRIGHOUSE AND SPENBOROUGH"
replace GB70_reelected = 0 if GB70_district_name == "BRIGHTON,KEMPTOWN"
replace GB70_reelected = 1 if GB70_district_name == "BRIGHTON,PAVILION"
replace GB70_reelected = 1 if GB70_district_name == "BRISTOL,CENTRAL"
replace GB70_reelected = 0 if GB70_district_name == "BRISTOL,NORTH EAST"
replace GB70_reelected = 0 if GB70_district_name == "BRISTOL,NORTH WEST"
replace GB70_reelected = 1 if GB70_district_name == "BRISTOL,SOUTH"
replace GB70_reelected = 1 if GB70_district_name == "BRISTOL,SOUTH EAST"
replace GB70_reelected = 1 if GB70_district_name == "BRISTOL,WEST"
replace GB70_reelected = 1 if GB70_district_name == "BROMLEY"
replace GB70_reelected = 1 if GB70_district_name == "BROMSGROVE"
replace GB70_reelected = 0 if GB70_district_name == "BUCKINGHAM"
replace GB70_reelected = 1 if GB70_district_name == "SOUTH BUCKINGHAMSHIRE"
replace GB70_reelected = 1 if GB70_district_name == "BURNLEY"
replace GB70_reelected = 1 if GB70_district_name == "BURTON"
replace GB70_reelected = 0 if GB70_district_name == "BURY AND RADCLIFFE"
replace GB70_reelected = 1 if GB70_district_name == "BURY ST.EDMUNDS"
replace GB70_reelected = 1 if GB70_district_name == "CAERNARVON"
replace GB70_reelected = 1 if GB70_district_name == "CAERPHILLY"
replace GB70_reelected = 1 if GB70_district_name == "CAITHNESS AND SUTHERLAND"
replace GB70_reelected = 1 if GB70_district_name == "CAMBERWELL,DULWICH"
replace GB70_reelected = 1 if GB70_district_name == "CAMBERWELL,PECKHAM"
replace GB70_reelected = 0 if GB70_district_name == "CAMBRIDGE"
replace GB70_reelected = 1 if GB70_district_name == "CAMBRIDGESHIRE"
replace GB70_reelected = 0 if GB70_district_name == "CANNOCK"
replace GB70_reelected = 1 if GB70_district_name == "CANTERBURY"
replace GB70_reelected = 0 if GB70_district_name == "CARDIFF,NORTH"
replace GB70_reelected = 1 if GB70_district_name == "CARDIFF,SOUTH EAST"
replace GB70_reelected = 1 if GB70_district_name == "CARDIFF,WEST"
replace GB70_reelected = 1 if GB70_district_name == "CARDIGAN"
replace GB70_reelected = 1 if GB70_district_name == "CARLISLE"
replace GB70_reelected = 1 if GB70_district_name == "CARLTON"
replace GB70_reelected = 1 if GB70_district_name == "CARMARTHEN"
replace GB70_reelected = 1 if GB70_district_name == "CARSHALTON"
replace GB70_reelected = 0 if GB70_district_name == "CHEADLE"
replace GB70_reelected = 1 if GB70_district_name == "CHELMSFORD"
replace GB70_reelected = 1 if GB70_district_name == "CHELSEA"
replace GB70_reelected = 1 if GB70_district_name == "CHELTENHAM"
replace GB70_reelected = 1 if GB70_district_name == "CHERTSEY"
replace GB70_reelected = 1 if GB70_district_name == "CITY OF CHESTER"
replace GB70_reelected = 1 if GB70_district_name == "CHESTERFIELD"
replace GB70_reelected = 1 if GB70_district_name == "CHESTER-LE-STREET"
replace GB70_reelected = 1 if GB70_district_name == "CHICHESTER"
replace GB70_reelected = 1 if GB70_district_name == "CHIGWELL"
replace GB70_reelected = 1 if GB70_district_name == "CHIPPENHAM"
replace GB70_reelected = 0 if GB70_district_name == "CHISLEHURST"
replace GB70_reelected = 0 if GB70_district_name == "CHORLEY"
replace GB70_reelected = 1 if GB70_district_name == "CIRENCESTER AND TEWKESBURY"
replace GB70_reelected = 1 if GB70_district_name == "CLEVELAND"
replace GB70_reelected = 1 if GB70_district_name == "CLITHEROE"
replace GB70_reelected = 1 if GB70_district_name == "COATBRIDGE AND AIRDRIE"
replace GB70_reelected = 1 if GB70_district_name == "COLCHESTER"
replace GB70_reelected = 0 if GB70_district_name == "COLNE VALLEY"
replace GB70_reelected = 1 if GB70_district_name == "CONSETT"
replace GB70_reelected = 0 if GB70_district_name == "CONWAY"
replace GB70_reelected = 1 if GB70_district_name == "NORTH CORNWALL"
replace GB70_reelected = 1 if GB70_district_name == "COVENTRY,EAST"
replace GB70_reelected = 1 if GB70_district_name == "COVENTRY,NORTH"
replace GB70_reelected = 1 if GB70_district_name == "COVENTRY,SOUTH"
replace GB70_reelected = 1 if GB70_district_name == "CREWE"
replace GB70_reelected = 1 if GB70_district_name == "CROSBY"
replace GB70_reelected = 1 if GB70_district_name == "CROYDON,NORTH EAST"
replace GB70_reelected = 1 if GB70_district_name == "CROYDON,NORTH WEST"
replace GB70_reelected = 0 if GB70_district_name == "CROYDON,SOUTH"
replace GB70_reelected = 1 if GB70_district_name == "DAGENHAM"
replace GB70_reelected = 1 if GB70_district_name == "DARLINGTON"
replace GB70_reelected = 0 if GB70_district_name == "DARTFORD"
replace GB70_reelected = 1 if GB70_district_name == "DARWEN"
replace GB70_reelected = 1 if GB70_district_name == "DEARNE VALLEY"
replace GB70_reelected = 1 if GB70_district_name == "DENBIGH"
replace GB70_reelected = 1 if GB70_district_name == "DEPTFORD"
replace GB70_reelected = 1 if GB70_district_name == "DERBY NORTH"
replace GB70_reelected = 1 if GB70_district_name == "DERBY SOUTH"
replace GB70_reelected = 1 if GB70_district_name == "NORTH EAST DERBYSHIRE"
replace GB70_reelected = 0 if GB70_district_name == "SOUTH EAST DERBYSHIRE"
replace GB70_reelected = 1 if GB70_district_name == "WEST DERBYSHIRE"
replace GB70_reelected = 1 if GB70_district_name == "DEVIZES"
replace GB70_reelected = 1 if GB70_district_name == "NORTH DEVON"
replace GB70_reelected = 1 if GB70_district_name == "DEWSBURY"
replace GB70_reelected = 1 if GB70_district_name == "DONCASTER"
replace GB70_reelected = 1 if GB70_district_name == "DON VALLEY"
replace GB70_reelected = 1 if GB70_district_name == "DORKING"
replace GB70_reelected = 1 if GB70_district_name == "NORTH DORSET"
replace GB70_reelected = 1 if GB70_district_name == "SOUTH DORSET"
replace GB70_reelected = 1 if GB70_district_name == "WEST DORSET"
replace GB70_reelected = 0 if GB70_district_name == "DOVER"
replace GB70_reelected = 1 if GB70_district_name == "DOWN NORTH"
replace GB70_reelected = 1 if GB70_district_name == "DOWN SOUTH"
replace GB70_reelected = 1 if GB70_district_name == "DUDLEY"
replace GB70_reelected = 1 if GB70_district_name == "DUMFRIES"
replace GB70_reelected = 1 if GB70_district_name == "EAST DUNBARTONSHIRE"
replace GB70_reelected = 1 if GB70_district_name == "WEST DUNBARTONSHIRE"
replace GB70_reelected = 1 if GB70_district_name == "DUNDEE EAST"
replace GB70_reelected = 1 if GB70_district_name == "DUNDEE WEST"
replace GB70_reelected = 1 if GB70_district_name == "DUNFERMLINE BURGHS"
replace GB70_reelected = 1 if GB70_district_name == "DURHAM"
replace GB70_reelected = 1 if GB70_district_name == "NORTH WEST DURHAM"
replace GB70_reelected = 1 if GB70_district_name == "EALING,NORTH"
replace GB70_reelected = 1 if GB70_district_name == "EALING,SOUTH"
replace GB70_reelected = 1 if GB70_district_name == "EASINGTON"
replace GB70_reelected = 1 if GB70_district_name == "EASTBOURNE"
replace GB70_reelected = 1 if GB70_district_name == "EAST GRINSTEAD"
replace GB70_reelected = 1 if GB70_district_name == "EAST HAM,NORTH"
replace GB70_reelected = 1 if GB70_district_name == "EAST HAM,SOUTH"
replace GB70_reelected = 1 if GB70_district_name == "EASTLEIGH"
replace GB70_reelected = 1 if GB70_district_name == "EBBW VALE"
replace GB70_reelected = 1 if GB70_district_name == "ECCLES"
replace GB70_reelected = 1 if GB70_district_name == "EDINBURGH CENTRAL"
replace GB70_reelected = 1 if GB70_district_name == "EDINBURGH EAST"
replace GB70_reelected = 1 if GB70_district_name == "EDINBURGH LEITH"
replace GB70_reelected = 1 if GB70_district_name == "EDINBURGH NORTH"
replace GB70_reelected = 1 if GB70_district_name == "EDINBURGH PENTLANDS"
replace GB70_reelected = 1 if GB70_district_name == "EDINBURGH SOUTH"
replace GB70_reelected = 1 if GB70_district_name == "EDINBURGH WEST"
replace GB70_reelected = 1 if GB70_district_name == "EDMONTON"
replace GB70_reelected = 1 if GB70_district_name == "ENFIELD,EAST"
replace GB70_reelected = 1 if GB70_district_name == "ENFIELD,WEST"
replace GB70_reelected = 0 if GB70_district_name == "EPPING"
replace GB70_reelected = 1 if GB70_district_name == "EPSOM"
replace GB70_reelected = 1 if GB70_district_name == "ERITH AND CRAYFORD"
replace GB70_reelected = 1 if GB70_district_name == "ESHER"
replace GB70_reelected = 1 if GB70_district_name == "SOUTH EAST ESSEX"
replace GB70_reelected = 1 if GB70_district_name == "ETON AND SLOUGH"
replace GB70_reelected = 0 if GB70_district_name == "EXETER"
replace GB70_reelected = 1 if GB70_district_name == "EYE"
replace GB70_reelected = 0 if GB70_district_name == "FALMOUTH AND CAMBORNE"
replace GB70_reelected = 1 if GB70_district_name == "FARNHAM"
replace GB70_reelected = 1 if GB70_district_name == "FARNWORTH"
replace GB70_reelected = 0 if GB70_district_name == "FAVERSHAM"
replace GB70_reelected = 1 if GB70_district_name == "FELTHAM"
replace GB70_reelected = 0 if GB70_district_name == "FERMANAGH AND SOUTH TYRONE"
replace GB70_reelected = 1 if GB70_district_name == "EAST FIFE"
replace GB70_reelected = 1 if GB70_district_name == "WEST FIFE"
replace GB70_reelected = 1 if GB70_district_name == "FINCHLEY"
replace GB70_reelected = 1 if GB70_district_name == "EAST FLINTSHIRE"
replace GB70_reelected = 1 if GB70_district_name == "WEST FLINTSHIRE"
replace GB70_reelected = 1 if GB70_district_name == "FOLKESTONE AND HYTHE"
replace GB70_reelected = 1 if GB70_district_name == "FULHAM"
replace GB70_reelected = 1 if GB70_district_name == "GAINSBOROUGH"
replace GB70_reelected = 1 if GB70_district_name == "GALLOWAY"
replace GB70_reelected = 1 if GB70_district_name == "GATESHEAD EAST"
replace GB70_reelected = 1 if GB70_district_name == "GATESHEAD WEST"
replace GB70_reelected = 1 if GB70_district_name == "GILLINGHAM"
replace GB70_reelected = 1 if GB70_district_name == "GLASGOW BRIDGETON"
replace GB70_reelected = 1 if GB70_district_name == "GLASGOW CATHCART"
replace GB70_reelected = 1 if GB70_district_name == "GLASGOW CENTRAL"
replace GB70_reelected = 1 if GB70_district_name == "GLASGOW CRAIGTON"
replace GB70_reelected = 1 if GB70_district_name == "GLASGOW GORBALS"
replace GB70_reelected = 1 if GB70_district_name == "GLASGOW GOVAN"
replace GB70_reelected = 1 if GB70_district_name == "GLASGOW HILLHEAD"
replace GB70_reelected = 1 if GB70_district_name == "GLASGOW KELVINGROVE"
replace GB70_reelected = 1 if GB70_district_name == "GLASGOW MARYHILL"
replace GB70_reelected = 1 if GB70_district_name == "GLASGOW POLLOK"
replace GB70_reelected = 1 if GB70_district_name == "GLASGOW PROVAN"
replace GB70_reelected = 1 if GB70_district_name == "GLASGOW SCOTSTOUN"
replace GB70_reelected = 1 if GB70_district_name == "GLASGOW SHETTLESTON"
replace GB70_reelected = 1 if GB70_district_name == "GLASGOW SPRINGBURN"
replace GB70_reelected = 1 if GB70_district_name == "GLASGOW WOODSIDE"
replace GB70_reelected = 0 if GB70_district_name == "GLOUCESTER"
replace GB70_reelected = 1 if GB70_district_name == "SOUTH GLOUCESTERSHIRE"
replace GB70_reelected = 1 if GB70_district_name == "WEST GLOUCESTERSHIRE"
replace GB70_reelected = 1 if GB70_district_name == "GOOLE"
replace GB70_reelected = 1 if GB70_district_name == "GOSPORT AND FAREHAM"
replace GB70_reelected = 1 if GB70_district_name == "GOWER"
replace GB70_reelected = 1 if GB70_district_name == "GRANTHAM"
replace GB70_reelected = 0 if GB70_district_name == "GRAVESEND"
replace GB70_reelected = 1 if GB70_district_name == "GREENOCK"
replace GB70_reelected = 1 if GB70_district_name == "GREENWICH"
replace GB70_reelected = 1 if GB70_district_name == "GRIMSBY"
replace GB70_reelected = 1 if GB70_district_name == "GUILDFORD"
replace GB70_reelected = 1 if GB70_district_name == "HACKNEY CENTRAL"
replace GB70_reelected = 1 if GB70_district_name == "HALIFAX"
replace GB70_reelected = 1 if GB70_district_name == "HALTEMPRICE"
replace GB70_reelected = 1 if GB70_district_name == "HAMILTON"
replace GB70_reelected = 1 if GB70_district_name == "HAMMERSMITH NORTH"
replace GB70_reelected = 0 if GB70_district_name == "HAMPSTEAD"
replace GB70_reelected = 1 if GB70_district_name == "HARBOROUGH"
replace GB70_reelected = 1 if GB70_district_name == "HARROGATE"
replace GB70_reelected = 1 if GB70_district_name == "HARROW,CENTRAL"
replace GB70_reelected = 0 if GB70_district_name == "HARROW,EAST"
replace GB70_reelected = 1 if GB70_district_name == "HARROW,WEST"
replace GB70_reelected = 1 if GB70_district_name == "THE HARTLEPOOLS"
replace GB70_reelected = 1 if GB70_district_name == "HARWICH"
replace GB70_reelected = 1 if GB70_district_name == "HASTINGS"
replace GB70_reelected = 1 if GB70_district_name == "HAYES AND HARLINGTON"
replace GB70_reelected = 1 if GB70_district_name == "HEMEL HEMPSTEAD"
replace GB70_reelected = 1 if GB70_district_name == "HEMSWORTH"
replace GB70_reelected = 1 if GB70_district_name == "HENDON,NORTH"
replace GB70_reelected = 1 if GB70_district_name == "HENDON,SOUTH"
replace GB70_reelected = 1 if GB70_district_name == "HENLEY"
replace GB70_reelected = 1 if GB70_district_name == "HEREFORD"
replace GB70_reelected = 1 if GB70_district_name == "HERTFORD"
replace GB70_reelected = 1 if GB70_district_name == "EAST HERTFORDSHIRE"
replace GB70_reelected = 1 if GB70_district_name == "SOUTH WEST HERTFORDSHIRE"
replace GB70_reelected = 1 if GB70_district_name == "HESTON AND ISLEWORTH"
replace GB70_reelected = 1 if GB70_district_name == "HEXHAM"
replace GB70_reelected = 1 if GB70_district_name == "HEYWOOD AND ROYTON"
replace GB70_reelected = 0 if GB70_district_name == "HIGH PEAK"
replace GB70_reelected = 1 if GB70_district_name == "HITCHIN"
replace GB70_reelected = 1 if GB70_district_name == "HOLBORN AND ST.PANCRAS"
replace GB70_reelected = 1 if GB70_district_name == "HOLLAND WITH BOSTON"
replace GB70_reelected = 1 if GB70_district_name == "HONITON"
replace GB70_reelected = 1 if GB70_district_name == "HORNCASTLE"
replace GB70_reelected = 0 if GB70_district_name == "HORNCHURCH"
replace GB70_reelected = 1 if GB70_district_name == "HORNSEY"
replace GB70_reelected = 1 if GB70_district_name == "HORSHAM"
replace GB70_reelected = 1 if GB70_district_name == "HOUGHTON-LE-SPRING"
replace GB70_reelected = 1 if GB70_district_name == "HOVE"
replace GB70_reelected = 1 if GB70_district_name == "HOWDEN"
replace GB70_reelected = 1 if GB70_district_name == "HUDDERSFIELD,EAST"
replace GB70_reelected = 1 if GB70_district_name == "HUDDERSFIELD,WEST"
replace GB70_reelected = 1 if GB70_district_name == "HUNTINGDONSHIRE"
replace GB70_reelected = 1 if GB70_district_name == "HUYTON"
replace GB70_reelected = 1 if GB70_district_name == "ILFORD,NORTH"
replace GB70_reelected = 0 if GB70_district_name == "ILFORD,SOUTH"
replace GB70_reelected = 1 if GB70_district_name == "ILKESTON"
replace GB70_reelected = 1 if GB70_district_name == "INCE"
replace GB70_reelected = 1 if GB70_district_name == "INVERNESS"
replace GB70_reelected = 0 if GB70_district_name == "IPSWICH"
replace GB70_reelected = 1 if GB70_district_name == "THE ISLE OF ELY"
replace GB70_reelected = 1 if GB70_district_name == "ISLE OF THANET"
replace GB70_reelected = 1 if GB70_district_name == "ISLE OF WIGHT"
replace GB70_reelected = 1 if GB70_district_name == "ISLINGTON,EAST"
replace GB70_reelected = 1 if GB70_district_name == "ISLINGTON,NORTH"
replace GB70_reelected = 1 if GB70_district_name == "ISLINGTON,SOUTH WEST"
replace GB70_reelected = 1 if GB70_district_name == "JARROW"
replace GB70_reelected = 0 if GB70_district_name == "KEIGHLEY"
replace GB70_reelected = 1 if GB70_district_name == "KENSINGTON,NORTH"
replace GB70_reelected = 1 if GB70_district_name == "KENSINGTON,SOUTH"
replace GB70_reelected = 1 if GB70_district_name == "KETTERING"
replace GB70_reelected = 1 if GB70_district_name == "KIDDERMINSTER"
replace GB70_reelected = 1 if GB70_district_name == "KILMARNOCK"
replace GB70_reelected = 0 if GB70_district_name == "KING'S LYNN"
replace GB70_reelected = 1 if GB70_district_name == "KINGSTON-UPON-HULL EAST"
replace GB70_reelected = 1 if GB70_district_name == "KINGSTON-UPON-HULL NORTH"
replace GB70_reelected = 1 if GB70_district_name == "KINGSTON-UPON-HULL WEST"
replace GB70_reelected = 1 if GB70_district_name == "KINGSTON UPON THAMES"
replace GB70_reelected = 1 if GB70_district_name == "KINROSS AND WEST PERTHSHIRE"
replace GB70_reelected = 1 if GB70_district_name == "KIRKCALDY BURGHS"
replace GB70_reelected = 1 if GB70_district_name == "KNUTSFORD"
replace GB70_reelected = 1 if GB70_district_name == "LAMBETH,BRIXTON"
replace GB70_reelected = 1 if GB70_district_name == "LAMBETH,NORWOOD"
replace GB70_reelected = 1 if GB70_district_name == "LAMBETH,VAUXHALL"
replace GB70_reelected = 1 if GB70_district_name == "LANARK"
replace GB70_reelected = 1 if GB70_district_name == "NORTH LANARKSHIRE"
replace GB70_reelected = 0 if GB70_district_name == "LANCASTER"
replace GB70_reelected = 1 if GB70_district_name == "LEEDS,EAST"
replace GB70_reelected = 1 if GB70_district_name == "LEEDS,NORTH EAST"
replace GB70_reelected = 1 if GB70_district_name == "LEEDS,NORTH WEST"
replace GB70_reelected = 1 if GB70_district_name == "LEEDS,SOUTH"
replace GB70_reelected = 1 if GB70_district_name == "LEEDS,SOUTH EAST"
replace GB70_reelected = 1 if GB70_district_name == "LEEDS,WEST"
replace GB70_reelected = 0 if GB70_district_name == "LEEK"
replace GB70_reelected = 1 if GB70_district_name == "LEICESTER,NORTH EAST"
replace GB70_reelected = 1 if GB70_district_name == "LEICESTER,NORTH WEST"
replace GB70_reelected = 1 if GB70_district_name == "LEICESTER,SOUTH EAST"
replace GB70_reelected = 0 if GB70_district_name == "LEICESTER,SOUTH WEST"
replace GB70_reelected = 1 if GB70_district_name == "LEIGH"
replace GB70_reelected = 1 if GB70_district_name == "LEOMINSTER"
replace GB70_reelected = 1 if GB70_district_name == "LEWES"
replace GB70_reelected = 1 if GB70_district_name == "LEWISHAM,NORTH"
replace GB70_reelected = 1 if GB70_district_name == "LEWISHAM,SOUTH"
replace GB70_reelected = 0 if GB70_district_name == "LEWISHAM,WEST"
replace GB70_reelected = 1 if GB70_district_name == "LEYTON"
replace GB70_reelected = 0 if GB70_district_name == "LICHFIELD AND TAMWORTH"
replace GB70_reelected = 1 if GB70_district_name == "LINCOLN"
replace GB70_reelected = 1 if GB70_district_name == "LIVERPOOL,EDGE HILL"
replace GB70_reelected = 1 if GB70_district_name == "LIVERPOOL,EXCHANGE"
replace GB70_reelected = 1 if GB70_district_name == "LIVERPOOL,GARSTON"
replace GB70_reelected = 1 if GB70_district_name == "LIVERPOOL,KIRKDALE"
replace GB70_reelected = 1 if GB70_district_name == "LIVERPOOL,SCOTLAND"
replace GB70_reelected = 1 if GB70_district_name == "LIVERPOOL,TOXTETH"
replace GB70_reelected = 1 if GB70_district_name == "LIVERPOOL,WALTON"
replace GB70_reelected = 1 if GB70_district_name == "LIVERPOOL,WAVERTREE"
replace GB70_reelected = 1 if GB70_district_name == "LIVERPOOL,WEST DERBY"
replace GB70_reelected = 1 if GB70_district_name == "LLANELLI"
replace GB70_reelected = 1 if GB70_district_name == "CITIES OF LONDON AND WESTMINSTER"
replace GB70_reelected = 1 if GB70_district_name == "LONDONDERRY COUNTY"
replace GB70_reelected = 1 if GB70_district_name == "LOUGHBOROUGH"
replace GB70_reelected = 1 if GB70_district_name == "LOUTH"
replace GB70_reelected = 1 if GB70_district_name == "LOWESTOFT"
replace GB70_reelected = 1 if GB70_district_name == "LUDLOW"
replace GB70_reelected = 0 if GB70_district_name == "LUTON"
replace GB70_reelected = 1 if GB70_district_name == "MACCLESFIELD"
replace GB70_reelected = 1 if GB70_district_name == "MAIDSTONE"
replace GB70_reelected = 1 if GB70_district_name == "MALDON"
replace GB70_reelected = 1 if GB70_district_name == "MANCHESTER,ARDWICK"
replace GB70_reelected = 1 if GB70_district_name == "MANCHESTER,BLACKLEY"
replace GB70_reelected = 1 if GB70_district_name == "MANCHESTER,CHEETHAM"
replace GB70_reelected = 1 if GB70_district_name == "MANCHESTER,EXCHANGE"
replace GB70_reelected = 1 if GB70_district_name == "MANCHESTER,GORTON"
replace GB70_reelected = 1 if GB70_district_name == "MANCHESTER,MOSS SIDE"
replace GB70_reelected = 1 if GB70_district_name == "MANCHESTER,OPENSHAW"
replace GB70_reelected = 1 if GB70_district_name == "MANCHESTER,WITHINGTON"
replace GB70_reelected = 1 if GB70_district_name == "MANCHESTER,WYTHENSHAWE"
replace GB70_reelected = 1 if GB70_district_name == "MANSFIELD"
replace GB70_reelected = 1 if GB70_district_name == "MELTON"
replace GB70_reelected = 0 if GB70_district_name == "MERIDEN"
replace GB70_reelected = 1 if GB70_district_name == "MERIONETH"
replace GB70_reelected = 0 if GB70_district_name == "MERTHYR TYDFIL"
replace GB70_reelected = 1 if GB70_district_name == "MERTON AND MORDEN"
replace GB70_reelected = 1 if GB70_district_name == "MIDDLESBROUGH,EAST"
replace GB70_reelected = 0 if GB70_district_name == "MIDDLESBROUGH,WEST"
replace GB70_reelected = 0 if GB70_district_name == "MIDDLETON AND PRESTWICK"
replace GB70_reelected = 1 if GB70_district_name == "MIDLOTHIAN"
replace GB70_reelected = 1 if GB70_district_name == "MITCHAM"
replace GB70_reelected = 0 if GB70_district_name == "MONMOUTH"
replace GB70_reelected = 1 if GB70_district_name == "MONTGOMERY"
replace GB70_reelected = 1 if GB70_district_name == "MORAY AND NAIRN"
replace GB70_reelected = 1 if GB70_district_name == "MORECAMBE AND LONSDALE"
replace GB70_reelected = 1 if GB70_district_name == "MORPETH"
replace GB70_reelected = 1 if GB70_district_name == "MOTHERWELL"
replace GB70_reelected = 1 if GB70_district_name == "NANTWICH"
replace GB70_reelected = 1 if GB70_district_name == "NEATH"
replace GB70_reelected = 0 if GB70_district_name == "NELSON AND COLNE"
replace GB70_reelected = 1 if GB70_district_name == "NEWARK"
replace GB70_reelected = 1 if GB70_district_name == "NEWBURY"
replace GB70_reelected = 1 if GB70_district_name == "NEWCASTLE UNDER LYME"
replace GB70_reelected = 1 if GB70_district_name == "NEWCASTLE-UPON-TYNE CENTRAL"
replace GB70_reelected = 1 if GB70_district_name == "NEWCASTLE-UPON-TYNE EAST"
replace GB70_reelected = 1 if GB70_district_name == "NEWCASTLE-UPON-TYNE NORTH"
replace GB70_reelected = 1 if GB70_district_name == "NEWCASTLE-UPONTYNE WEST"
replace GB70_reelected = 1 if GB70_district_name == "NEW FOREST"
replace GB70_reelected = 1 if GB70_district_name == "NEWPORT"
replace GB70_reelected = 1 if GB70_district_name == "NEWTON"
replace GB70_reelected = 1 if GB70_district_name == "CENTRAL NORFOLK"
replace GB70_reelected = 0 if GB70_district_name == "NORTH NORFOLK"
replace GB70_reelected = 1 if GB70_district_name == "SOUTH NORFOLK"
replace GB70_reelected = 1 if GB70_district_name == "SOUTH WEST NORFOLK"
replace GB70_reelected = 1 if GB70_district_name == "NORMANTON"
replace GB70_reelected = 1 if GB70_district_name == "NORTHAMPTON"
replace GB70_reelected = 1 if GB70_district_name == "SOUTH NORTHAMPTONSHIRE"
replace GB70_reelected = 1 if GB70_district_name == "NORTH FYLDE"
replace GB70_reelected = 1 if GB70_district_name == "NORTHWICH"
replace GB70_reelected = 1 if GB70_district_name == "NORWICH,NORTH"
replace GB70_reelected = 0 if GB70_district_name == "NORWICH,SOUTH"
replace GB70_reelected = 1 if GB70_district_name == "NOTTINGHAM,CENTRAL"
replace GB70_reelected = 1 if GB70_district_name == "NOTTINGHAM,NORTH"
replace GB70_reelected = 0 if GB70_district_name == "NOTTINGHAM,SOUTH"
replace GB70_reelected = 1 if GB70_district_name == "NOTTINGHAM,WEST"
replace GB70_reelected = 1 if GB70_district_name == "NUNEATON"
replace GB70_reelected = 1 if GB70_district_name == "OGMORE"
replace GB70_reelected = 0 if GB70_district_name == "OLDBURY AND HALESOWEN"
replace GB70_reelected = 1 if GB70_district_name == "OLDHAM,EAST"
replace GB70_reelected = 1 if GB70_district_name == "OLDHAM,WEST"
replace GB70_reelected = 1 if GB70_district_name == "ORKNEY AND ZETLAND"
replace GB70_reelected = 1 if GB70_district_name == "ORMSKIRK"
replace GB70_reelected = 0 if GB70_district_name == "ORPINGTON"
replace GB70_reelected = 1 if GB70_district_name == "OSWESTRY"
replace GB70_reelected = 0 if GB70_district_name == "OXFORD"
replace GB70_reelected = 1 if GB70_district_name == "PADDINGTON,NORTH"
replace GB70_reelected = 1 if GB70_district_name == "PADDINGTON,SOUTH"
replace GB70_reelected = 1 if GB70_district_name == "PAISLEY"
replace GB70_reelected = 0 if GB70_district_name == "PEMBROKE"
replace GB70_reelected = 1 if GB70_district_name == "PENISTONE"
replace GB70_reelected = 1 if GB70_district_name == "PENRITH AND THE BORDERS"
replace GB70_reelected = 1 if GB70_district_name == "PERTH AND EAST PERTHSHIRE"
replace GB70_reelected = 1 if GB70_district_name == "PETERBOROUGH"
replace GB70_reelected = 1 if GB70_district_name == "PETERSFIELD"
replace GB70_reelected = 1 if GB70_district_name == "PLYMOUTH,DEVONPORT"
replace GB70_reelected = 1 if GB70_district_name == "PLYMOUTH,SUTTON"
replace GB70_reelected = 1 if GB70_district_name == "PONTEFRACT"
replace GB70_reelected = 1 if GB70_district_name == "PONTYPOOL"
replace GB70_reelected = 1 if GB70_district_name == "PONTYPRIDD"
replace GB70_reelected = 1 if GB70_district_name == "POOLE"
replace GB70_reelected = 1 if GB70_district_name == "POPLAR"
replace GB70_reelected = 1 if GB70_district_name == "PORTSMOUTH,LANGSTON"
replace GB70_reelected = 1 if GB70_district_name == "PORTSMOUTH,SOUTH"
replace GB70_reelected = 1 if GB70_district_name == "PORTSMOUTH,WEST"
replace GB70_reelected = 0 if GB70_district_name == "PRESTON,NORTH"
replace GB70_reelected = 0 if GB70_district_name == "PRESTON,SOUTH"
replace GB70_reelected = 1 if GB70_district_name == "PUDSEY"
replace GB70_reelected = 0 if GB70_district_name == "READING"
replace GB70_reelected = 1 if GB70_district_name == "REIGATE"
replace GB70_reelected = 1 if GB70_district_name == "EAST RENFREWSHIRE"
replace GB70_reelected = 1 if GB70_district_name == "WEST RENFREWSHIRE"
replace GB70_reelected = 1 if GB70_district_name == "RHONDDA,EAST"
replace GB70_reelected = 1 if GB70_district_name == "RHONDDA,WEST"
replace GB70_reelected = 1 if GB70_district_name == "RICHMOND (SURREY)"
replace GB70_reelected = 1 if GB70_district_name == "RICHMOND (YORKSHIRE)"
replace GB70_reelected = 1 if GB70_district_name == "RIPON"
replace GB70_reelected = 1 if GB70_district_name == "ROCHDALE"
replace GB70_reelected = 0 if GB70_district_name == "ROCHESTER AND CHATHAM"
replace GB70_reelected = 1 if GB70_district_name == "ROMFORD"
replace GB70_reelected = 0 if GB70_district_name == "ROSS AND CROMARTY"
replace GB70_reelected = 0 if GB70_district_name == "ROSSENDALE"
replace GB70_reelected = 1 if GB70_district_name == "ROTHERHAM"
replace GB70_reelected = 1 if GB70_district_name == "ROTHER VALLEY"
replace GB70_reelected = 1 if GB70_district_name == "ROWLEY REGIS AND TIPTON"
replace GB70_reelected = 1 if GB70_district_name == "ROXBURGH, SELKIRK AND PEEBLES"
replace GB70_reelected = 1 if GB70_district_name == "RUGBY"
replace GB70_reelected = 1 if GB70_district_name == "RUISLIP-NORTHWOOD"
replace GB70_reelected = 1 if GB70_district_name == "RUNCORN"
replace GB70_reelected = 0 if GB70_district_name == "RUSHCLIFFE"
replace GB70_reelected = 1 if GB70_district_name == "RUTHERGLEN"
replace GB70_reelected = 1 if GB70_district_name == "RUTLAND AND STAMFORD"
replace GB70_reelected = 1 if GB70_district_name == "RYE"
replace GB70_reelected = 1 if GB70_district_name == "SAFFRON WALDON"
replace GB70_reelected = 1 if GB70_district_name == "ST.ALBANS"
replace GB70_reelected = 1 if GB70_district_name == "ST.HELENS"
replace GB70_reelected = 1 if GB70_district_name == "ST.IVES"
replace GB70_reelected = 1 if GB70_district_name == "ST.MARYLEBONE"
replace GB70_reelected = 1 if GB70_district_name == "ST.PANCRAS NORTH"
replace GB70_reelected = 1 if GB70_district_name == "SALFORD,EAST"
replace GB70_reelected = 1 if GB70_district_name == "SALFORD,WEST"
replace GB70_reelected = 1 if GB70_district_name == "SALISBURY"
replace GB70_reelected = 1 if GB70_district_name == "SCARBOROUGH AND WHITBY"
replace GB70_reelected = 1 if GB70_district_name == "SEDGEFIELD"
replace GB70_reelected = 1 if GB70_district_name == "SEVENOAKS"
replace GB70_reelected = 1 if GB70_district_name == "SHEFFIELD,ATTERCLIFFE"
replace GB70_reelected = 1 if GB70_district_name == "SHEFFIELD,BRIGHTSIDE"
replace GB70_reelected = 1 if GB70_district_name == "SHEFFIELD,HALLAM"
replace GB70_reelected = 0 if GB70_district_name == "SHEFFIELD,HEELEY"
replace GB70_reelected = 1 if GB70_district_name == "SHEFFIELD,HILLSBOROUGH"
replace GB70_reelected = 1 if GB70_district_name == "SHEFFIELD,PARK"
replace GB70_reelected = 1 if GB70_district_name == "SHIPLEY"
replace GB70_reelected = 1 if GB70_district_name == "SHOREDITCH AND FINSBURY"
replace GB70_reelected = 1 if GB70_district_name == "SHREWSBURY"
replace GB70_reelected = 1 if GB70_district_name == "SKIPTON"
replace GB70_reelected = 1 if GB70_district_name == "SMETHWICK"
replace GB70_reelected = 1 if GB70_district_name == "SOLIHULL"
replace GB70_reelected = 1 if GB70_district_name == "NORTH SOMERSET"
replace GB70_reelected = 1 if GB70_district_name == "SOUTHALL"
replace GB70_reelected = 1 if GB70_district_name == "SOUTHAMPTON,ITCHEN"
replace GB70_reelected = 0 if GB70_district_name == "SOUTHAMPTON,TEST"
replace GB70_reelected = 1 if GB70_district_name == "SOUTHEND EAST"
replace GB70_reelected = 1 if GB70_district_name == "SOUTHEND WEST"
replace GB70_reelected = 1 if GB70_district_name == "SOUTH FYLDE"
replace GB70_reelected = 1 if GB70_district_name == "SOUTHGATE"
replace GB70_reelected = 1 if GB70_district_name == "SOUTHPORT"
replace GB70_reelected = 1 if GB70_district_name == "SOUTH SHIELDS"
replace GB70_reelected = 1 if GB70_district_name == "SOUTHWARK"
replace GB70_reelected = 1 if GB70_district_name == "SOWERBY"
replace GB70_reelected = 1 if GB70_district_name == "SPELTHORNE"
replace GB70_reelected = 1 if GB70_district_name == "STAFFORD AND STONE"
replace GB70_reelected = 1 if GB70_district_name == "STALYBRIDGE AND HYDE"
replace GB70_reelected = 1 if GB70_district_name == "STEPNEY"
replace GB70_reelected = 1 if GB70_district_name == "STIRLING AND FALKIRK"
replace GB70_reelected = 1 if GB70_district_name == "CLACKMANNAN AND EAST STIRLINGSHIRE"
replace GB70_reelected = 1 if GB70_district_name == "WEST STIRLINGSHIRE"
replace GB70_reelected = 0 if GB70_district_name == "STOCKPORT NORTH"
replace GB70_reelected = 1 if GB70_district_name == "STOCKPORT SOUTH"
replace GB70_reelected = 1 if GB70_district_name == "STOCKTON-ON-TEES"
replace GB70_reelected = 1 if GB70_district_name == "STOKE NEWINGTON AND HACKNEY NORTH"
replace GB70_reelected = 1 if GB70_district_name == "STOKE ON TRENT,CENTRAL"
replace GB70_reelected = 1 if GB70_district_name == "STOKE ON TRENT,NORTH"
replace GB70_reelected = 1 if GB70_district_name == "STOKE ON TRENT,SOUTH"
replace GB70_reelected = 1 if GB70_district_name == "STRATFORD"
replace GB70_reelected = 0 if GB70_district_name == "STRETFORD"
replace GB70_reelected = 1 if GB70_district_name == "STROUD"
replace GB70_reelected = 1 if GB70_district_name == "SUDBURY AND WOODBRIDGE"
replace GB70_reelected = 1 if GB70_district_name == "SUNDERLAND NORTH"
replace GB70_reelected = 1 if GB70_district_name == "SUNDERLAND SOUTH"
replace GB70_reelected = 1 if GB70_district_name == "SURBITON"
replace GB70_reelected = 1 if GB70_district_name == "EAST SURREY"
replace GB70_reelected = 1 if GB70_district_name == "SUTTON AND CHEAM"
replace GB70_reelected = 1 if GB70_district_name == "SUTTON COLDFIELD"
replace GB70_reelected = 1 if GB70_district_name == "SWANSEA,EAST"
replace GB70_reelected = 1 if GB70_district_name == "SWANSEA,WEST"
replace GB70_reelected = 1 if GB70_district_name == "SWINDON"
replace GB70_reelected = 1 if GB70_district_name == "TAUNTON"
replace GB70_reelected = 1 if GB70_district_name == "TAVISTOCK"
replace GB70_reelected = 1 if GB70_district_name == "THIRSK AND MALTON"
replace GB70_reelected = 1 if GB70_district_name == "THURROCK"
replace GB70_reelected = 1 if GB70_district_name == "TIVERTON"
replace GB70_reelected = 1 if GB70_district_name == "TONBRIDGE"
replace GB70_reelected = 1 if GB70_district_name == "TORQUAY"
replace GB70_reelected = 1 if GB70_district_name == "TORRINGTON"
replace GB70_reelected = 1 if GB70_district_name == "TOTNES"
replace GB70_reelected = 1 if GB70_district_name == "TOTTENHAM"
replace GB70_reelected = 1 if GB70_district_name == "TRURO"
replace GB70_reelected = 1 if GB70_district_name == "TWICKENHAM"
replace GB70_reelected = 1 if GB70_district_name == "TYNEMOUTH"
replace GB70_reelected = 0 if GB70_district_name == "ULSTER MID"
replace GB70_reelected = 0 if GB70_district_name == "UXBRIDGE"
replace GB70_reelected = 1 if GB70_district_name == "WAKEFIELD"
replace GB70_reelected = 1 if GB70_district_name == "WALLASEY"
replace GB70_reelected = 1 if GB70_district_name == "WALLSEND"
replace GB70_reelected = 1 if GB70_district_name == "WALSALL,NORTH"
replace GB70_reelected = 1 if GB70_district_name == "WALSALL,SOUTH"
replace GB70_reelected = 0 if GB70_district_name == "WALTHAMSTOW,EAST"
replace GB70_reelected = 1 if GB70_district_name == "WALTHAMSTOW,WEST"
replace GB70_reelected = 1 if GB70_district_name == "WANDSWORTH,CENTRAL"
replace GB70_reelected = 0 if GB70_district_name == "WANDSWORTH,CLAPHAM"
replace GB70_reelected = 1 if GB70_district_name == "WANDSWORTH,PUTNEY"
replace GB70_reelected = 1 if GB70_district_name == "WANDSWORTH,STREATHAM"
replace GB70_reelected = 1 if GB70_district_name == "WANSTEAD AND WOODFORD"
replace GB70_reelected = 1 if GB70_district_name == "WARRINGTON"
replace GB70_reelected = 1 if GB70_district_name == "WARWICK AND LEAMINGTON"
replace GB70_reelected = 1 if GB70_district_name == "WATFORD"
replace GB70_reelected = 1 if GB70_district_name == "WEDNESBURY"
replace GB70_reelected = 0 if GB70_district_name == "WELLINGBOROUGH"
replace GB70_reelected = 1 if GB70_district_name == "WELLS"
replace GB70_reelected = 1 if GB70_district_name == "WEMBLEY NORTH"
replace GB70_reelected = 1 if GB70_district_name == "WEMBLEY SOUTH"
replace GB70_reelected = 1 if GB70_district_name == "WEST BROMWICH"
replace GB70_reelected = 1 if GB70_district_name == "WESTBURY"
replace GB70_reelected = 0 if GB70_district_name == "WESTERN ISLES"
replace GB70_reelected = 1 if GB70_district_name == "WEST HAM NORTH"
replace GB70_reelected = 1 if GB70_district_name == "WEST HAM SOUTH"
replace GB70_reelected = 1 if GB70_district_name == "WESTHOUGHTON"
replace GB70_reelected = 1 if GB70_district_name == "WEST LOTHIAN"
replace GB70_reelected = 1 if GB70_district_name == "WESTMORLAND"
replace GB70_reelected = 1 if GB70_district_name == "WESTON SUPER MARE"
replace GB70_reelected = 1 if GB70_district_name == "WHITEHAVEN"
replace GB70_reelected = 1 if GB70_district_name == "WIDNES"
replace GB70_reelected = 1 if GB70_district_name == "WIGAN"
replace GB70_reelected = 1 if GB70_district_name == "WILLESDEN,EAST"
replace GB70_reelected = 1 if GB70_district_name == "WILLESDEN,WEST"
replace GB70_reelected = 1 if GB70_district_name == "WIMBLEDON"
replace GB70_reelected = 1 if GB70_district_name == "WINCHESTER"
replace GB70_reelected = 1 if GB70_district_name == "WINDSOR"
replace GB70_reelected = 1 if GB70_district_name == "WIRRAL"
replace GB70_reelected = 1 if GB70_district_name == "WOKING"
replace GB70_reelected = 1 if GB70_district_name == "WOKINGHAM"
replace GB70_reelected = 1 if GB70_district_name == "WOLVERHAMPTON NORTH EAST"
replace GB70_reelected = 1 if GB70_district_name == "WOLVERHAMPTON SOUTH WEST"
replace GB70_reelected = 1 if GB70_district_name == "WOOD GREEN"
replace GB70_reelected = 1 if GB70_district_name == "WOOLWICH,EAST"
replace GB70_reelected = 1 if GB70_district_name == "WOOLWICH,WEST"
replace GB70_reelected = 1 if GB70_district_name == "WORCESTER"
replace GB70_reelected = 1 if GB70_district_name == "SOUTH WORCESTERSHIRE"
replace GB70_reelected = 1 if GB70_district_name == "WORKINGTON"
replace GB70_reelected = 1 if GB70_district_name == "WORTHING"
replace GB70_reelected = 0 if GB70_district_name == "THE WREKIN"
replace GB70_reelected = 1 if GB70_district_name == "WREXHAM"
replace GB70_reelected = 1 if GB70_district_name == "WYCOMBE"
replace GB70_reelected = 0 if GB70_district_name == "YARMOUTH"
replace GB70_reelected = 1 if GB70_district_name == "YEOVIL"
replace GB70_reelected = 1 if GB70_district_name == "YORK"


**************************************************
** INDEPENDENT VARIABLES: 1964 GENERAL ELECTION **
**************************************************

* Time

gen GB63_intdate = .

replace GB63_intdate = 19630601 if v43 == 1
replace GB63_intdate = 19630602 if v43 == 2
replace GB63_intdate = 19630603 if v43 == 3
replace GB63_intdate = 19630604 if v43 == 4
replace GB63_intdate = 19630605 if v43 == 5
replace GB63_intdate = 19630606 if v43 == 6
replace GB63_intdate = 19630607 if v43 == 7
replace GB63_intdate = 19630608 if v43 == 8
replace GB63_intdate = 19630609 if v43 == 9
replace GB63_intdate = 19630610 if v43 == 10
replace GB63_intdate = 19630611 if v43 == 11
replace GB63_intdate = 19630612 if v43 == 12
replace GB63_intdate = 19630613 if v43 == 13
replace GB63_intdate = 19630614 if v43 == 14
replace GB63_intdate = 19630615 if v43 == 15
replace GB63_intdate = 19630616 if v43 == 16
replace GB63_intdate = 19630617 if v43 == 17
replace GB63_intdate = 19630618 if v43 == 18
replace GB63_intdate = 19630619 if v43 == 19
replace GB63_intdate = 19630620 if v43 == 20
replace GB63_intdate = 19630621 if v43 == 21
replace GB63_intdate = 19630622 if v43 == 22
replace GB63_intdate = 19630623 if v43 == 23
replace GB63_intdate = 19630624 if v43 == 24
replace GB63_intdate = 19630625 if v43 == 25
replace GB63_intdate = 19630626 if v43 == 26
replace GB63_intdate = 19630627 if v43 == 27
replace GB63_intdate = 19630628 if v43 == 28
replace GB63_intdate = 19630629 if v43 == 29
replace GB63_intdate = 19630630 if v43 == 30
replace GB63_intdate = 19630701 if v43 == 41
replace GB63_intdate = 19630702 if v43 == 42
replace GB63_intdate = 19630703 if v43 == 43
replace GB63_intdate = 19630704 if v43 == 44
replace GB63_intdate = 19630705 if v43 == 45
replace GB63_intdate = 19630706 if v43 == 46
replace GB63_intdate = 19630707 if v43 == 47
replace GB63_intdate = 19630708 if v43 == 48
replace GB63_intdate = 19630709 if v43 == 49
replace GB63_intdate = 19630710 if v43 == 50
replace GB63_intdate = 19630711 if v43 == 51
replace GB63_intdate = 19630712 if v43 == 52
replace GB63_intdate = 19630713 if v43 == 53
replace GB63_intdate = 19630714 if v43 == 54
replace GB63_intdate = 19630715 if v43 == 55
replace GB63_intdate = 19630716 if v43 == 56
replace GB63_intdate = 19630717 if v43 == 57
replace GB63_intdate = 19630718 if v43 == 58
replace GB63_intdate = 19630719 if v43 == 59
replace GB63_intdate = 19630720 if v43 == 60
replace GB63_intdate = 19630721 if v43 == 61
replace GB63_intdate = 19630722 if v43 == 62
replace GB63_intdate = 19630723 if v43 == 63
replace GB63_intdate = 19630724 if v43 == 64
replace GB63_intdate = 19630725 if v43 == 65
replace GB63_intdate = 19630726 if v43 == 66
replace GB63_intdate = 19630727 if v43 == 67
replace GB63_intdate = 19630728 if v43 == 68
replace GB63_intdate = 19630729 if v43 == 69
replace GB63_intdate = 19630730 if v43 == 70
replace GB63_intdate = 19630731 if v43 == 71
replace GB63_intdate = 19630801 if v43 == 72
replace GB63_intdate = 19630802 if v43 == 73
replace GB63_intdate = 19630803 if v43 == 74
replace GB63_intdate = 19630804 if v43 == 75
replace GB63_intdate = 19630805 if v43 == 76
replace GB63_intdate = 19630806 if v43 == 77
replace GB63_intdate = 19630807 if v43 == 78
replace GB63_intdate = 19630808 if v43 == 79
replace GB63_intdate = 19630524 if v43 == 84
replace GB63_intdate = 19630525 if v43 == 85
replace GB63_intdate = 19630526 if v43 == 86
replace GB63_intdate = 19630527 if v43 == 87
replace GB63_intdate = 19630528 if v43 == 88
replace GB63_intdate = 19630529 if v43 == 89
replace GB63_intdate = 19630530 if v43 == 90
replace GB63_intdate = 19630531 if v43 == 91
replace GB63_intdate = 19630812 if v43 == 93
replace GB63_intdate = 19630813 if v43 == 94

gen GB63_surveydate = date(string(GB63_intdate,"%8.0f"),"YMD")

format %tdMon_DD,_CCYY GB63_surveydate

gen GB63_edate = 19641015

gen GB63_electiondate = date(string(GB63_edate,"%8.0f"),"YMD")

format %tdMon_DD,_CCYY GB63_electiondate

gen GB63_time = GB63_electiondate - GB63_surveydate

* Gender

gen GB63_male = v929

recode GB63_male 0=. 2=0

* Age

gen GB63_age = v938

recode GB63_age 0=.

* Interest for politics

gen GB63_interest = v125

recode GB63_interest 0=. 8=. 9=.

replace GB63_interest = 4 - GB63_interest

* Education

gen GB63_education = v851

recode GB63_education 0=. 8=0 9=.

* Party identification (district)

gen GB63_pid = v1142
recode GB63_pid 0=. 8=. 9=.

gen GB63_pidstatus_district = .

replace GB63_pidstatus_district = 2 if GB63_pid == 5

replace GB63_pidstatus_district = 3 if GB63_pid == GB64_district_outcome & GB63_pidstatus_district!=2 & GB63_pid!=. & GB64_district_outcome!=.

replace GB63_pidstatus_district = 1 if GB63_pid!=GB64_district_outcome & GB63_pidstatus_district!=2 & GB63_pidstatus_district!=3 & GB63_pid!=. & GB64_district_outcome!=.

label define pidstatus 1 "Loser PID" 2 "No PID" 3 "Winner PID"
label values GB63_pidstatus_district pidstatus

* Party identification scale (district)

gen GB63_pidscale_district = .

replace GB63_pidscale_district = 1 if GB63_pidstatus_district == 1 & v1146 == 1
replace GB63_pidscale_district = 2 if GB63_pidstatus_district == 1 & v1146 == 2
replace GB63_pidscale_district = 3 if GB63_pidstatus_district == 1 & v1146 == 3 | v1146 == 4
replace GB63_pidscale_district = 4 if GB63_pidstatus_district == 2
replace GB63_pidscale_district = 5 if GB63_pidstatus_district == 3 & v1146 == 3 | v1146 == 4
replace GB63_pidscale_district = 6 if GB63_pidstatus_district == 3 & v1146 == 2
replace GB63_pidscale_district = 7 if GB63_pidstatus_district == 3 & v1146 == 1

label define pidscale 1 "Strong loser PID" 2 "Moderate loser PID" 3 "Weak loser PID" 4 "No PID" 5 "Weak winner PID" 6 "Moderate winner PID" 7 "Strong winner PID" 
label values GB63_pidscale_district pidscale

* Party identification (national)

gen GB63_pidstatus_whole = .

replace GB63_pidstatus_whole = 2 if GB63_pid == 5

replace GB63_pidstatus_whole = 3 if GB63_pid == 2 & GB63_pidstatus_whole!=2 & GB63_pid!=.

replace GB63_pidstatus_whole = 1 if GB63_pid!=2 & GB63_pidstatus_whole!=2 & GB63_pidstatus_whole!=3 & GB63_pid!=.

label values GB63_pidstatus_district pidstatus

* Party identification scale (national)

gen GB63_pidscale_whole = .

replace GB63_pidscale_whole = 1 if GB63_pidstatus_whole == 1 & v1146 == 1
replace GB63_pidscale_whole = 2 if GB63_pidstatus_whole == 1 & v1146 == 2
replace GB63_pidscale_whole = 3 if GB63_pidstatus_whole == 1 & v1146 == 3 | v1146 == 4
replace GB63_pidscale_whole = 4 if GB63_pidstatus_whole == 2
replace GB63_pidscale_whole = 5 if GB63_pidstatus_whole == 3 & v1146 == 3 | v1146 == 4
replace GB63_pidscale_whole = 6 if GB63_pidstatus_whole == 3 & v1146 == 2
replace GB63_pidscale_whole = 7 if GB63_pidstatus_whole == 3 & v1146 == 1

label values GB63_pidscale_whole pidscale

* Follow politics on TV

gen GB63_tv = v62

recode GB63_tv 0=. 5=0 8=. 9=. 

* Follow politics on radio

gen GB63_radio = v112

recode GB63_radio 0=. 5=0 8=. 9=. 

* Follow politics in newspaper

gen GB63_press = v1198

recode GB63_press 0=. 5=0 9=. 

* News attentiveness

egen GB63_news = rowmax(GB63_tv GB63_radio GB63_press)

* Political discussion

gen GB63_discussion = v118

recode GB63_discussion 0=. 9=. 5=0

* Care about outcome

gen GB63_care_whole = v440

recode GB63_care_whole 0=. 8=. 9=. 5=0

* Forecast certainty (national)

gen GB63_certain_whole1 = v425

recode GB63_certain_whole1 0. 8=. 9=.

gen GB63_certain_whole2 = v427

recode GB63_certain_whole2 0. 8=. 9=.

egen GB63_certain_whole = rowmax(GB63_certain_whole1 GB63_certain_whole2)

replace GB63_certain_whole = 4 - GB63_certain_whole

* Main source of information

gen GB64_network_main = v124

recode GB64_network_main 0=. 5=0 8=. 9=.


*********************************
** NATIONAL-LEVEL EXPECTATIONS **
*********************************

* Forecasts (1 = Conservative, 2 = Labour, 3 = Liberals, 4 = other)

gen GB63_forecast_whole = v421

recode GB63_forecast_whole 0=. 8=.

* Identify correct forecasts

gen GB63_correct_whole_d = 0 if GB63_forecast_whole!=2 & GB63_forecast_whole!=.
replace GB63_correct_whole_d = 1 if GB63_forecast_whole == 2 & GB63_forecast_whole!=.


*********************************
** DISTRICT-LEVEL EXPECTATIONS ** 
*********************************

recode GB63_district_outcome 5=4

* Forecasts (1 = Conservative, 2 = Labour, 3 = Liberals, 4 = other)

gen GB63_forecast_district = v430

recode GB63_forecast_district 0=. 7=9 8=9

* Identify correct forecasts

gen GB63_correct_district_d = 0 if GB63_forecast_district!=GB63_district_outcome & GB63_forecast_district!=.
replace GB63_correct_district_d = 1 if GB63_forecast_district == GB63_district_outcome & GB63_forecast_district!=.


**********
** SAVE **
**********

save "gb1964_bes.dta", replace


*******************
** MAIN ANALYSES **
*******************

* Regression analysis and percentage of correct and incorrect forecasts (national)

logistic GB63_correct_whole_d GB63_discussion GB63_pidscale_whole GB63_interest GB63_news i.GB63_care_whole GB63_age i.GB63_male GB63_education GB63_time
estimates table, star(.05 .01 .001)

tab GB63_correct_whole_d if e(sample) == 1

* Regression analysis and percentage of correct and incorrect forecasts (district)

melogit GB63_correct_district_d GB63_discussion GB63_pidscale_whole GB63_interest GB63_news GB63_age i.GB63_male GB63_education GB63_time GB63_enep i.GB63_reelected || GB63_district_name: , or
estimates table, star(.05 .01 .001)

tab GB63_correct_district_d if e(sample) == 1


************************
** SUMMARY STATISTICS **
************************

label variable GB63_correct_whole_d "Election winner (DV)"
label variable GB63_correct_district_d "District winner (DV)"
label variable GB63_discussion "Discussion"
label variable GB63_pidscale_whole "National PID"
label variable GB63_pidscale_district "District PID"
label variable GB63_age "Age"
label variable GB63_male "Gender (male = 1)"
label variable GB63_education "Education"
label variable GB63_interest "Interest"
label variable GB63_news "News attentiveness"
label variable GB63_care_whole "Caring about outcome"
label variable GB63_time "Time of interview"
label variable GB63_enep "ENEP"
label variable GB63_margin "Margin"
label variable GB63_reelected "Reelected"

quietly logistic GB63_correct_whole_d GB63_discussion GB63_pidscale_whole GB63_interest GB63_news i.GB63_care_whole GB63_age i.GB63_male GB63_education GB63_time

estpost tabstat GB63_correct_whole_d GB63_discussion GB63_pidscale_whole GB63_interest GB63_news GB63_care_whole GB63_age GB63_male GB63_education GB63_time if e(sample) == 1, statistics(n mean p50 sd min max) columns(statistics)

esttab using "gb1964_bes_summary_national.tex", substitute("\begin{table}[htbp]" "\begin{table}[H]") cells("count(label(N) fmt(%9.0fc)) mean(fmt(%5.1f) label(Mean)) p50(fmt(%5.1f) label(Median)) sd(fmt(%5.1f) label(Std. dev.)) min(fmt(%5.1f) label(Min)) max(fmt(%5.1f) label(Max))") label width(\textwidth) nomtitle nonumber noobs booktabs title("Summary statistics -- 1964 British general election (BES), national level") replace

eststo clear

quietly melogit GB63_correct_district_d GB63_discussion GB63_pidscale_whole GB63_interest GB63_news GB63_age i.GB63_male GB63_education GB63_time GB63_enep i.GB63_reelected || GB63_district_name: , or

estpost tabstat GB63_correct_district_d GB63_discussion GB63_pidscale_whole GB63_interest GB63_news GB63_age GB63_male GB63_education GB63_time if e(sample) == 1, statistics(n mean p50 sd min max) columns(statistics)

esttab using "gb1964_bes_summary_district.tex", substitute("\begin{table}[htbp]" "\begin{table}[H]") cells("count(label(N) fmt(%9.0fc)) mean(fmt(%5.1f) label(Mean)) p50(fmt(%5.1f) label(Median)) sd(fmt(%5.1f) label(Std. dev.)) min(fmt(%5.1f) label(Min)) max(fmt(%5.1f) label(Max))") label width(\textwidth) nomtitle nonumber noobs booktabs title("Summary statistics -- 1964 British general election (BES), district level") replace

eststo clear


*************************
** ADDITIONAL ANALYSES **
*************************

* Regression analysis (national)

logistic GB63_correct_whole_d i.GB64_network_main GB63_discussion GB63_pidscale_whole GB63_interest GB63_news i.GB63_care_whole GB63_age i.GB63_male GB63_education GB63_time
estimates table, star(.05 .01 .001)

log close